Can't adjust email notification

View: New views
3 Messages — Rating Filter:   Alert me  

Can't adjust email notification

by techcrypto :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello,

I need to customize email notification. I edited mail.properties and examined all appropriate adjustment in mail.service.xml and ejbca-mail-service.xml (JBOSS directory). But when the system tries to send message I see error of appsrv -  "Error sending notification to user user1 with email user1@gmail.com. com.sun.mail.smtp.SMTPSendFailedException: 530 5.7.0 Must issue a STARTTLS command first. e9sm11606020muf.2.

I understand that I have to set up SSL(TLS) connection to smtp server but I can't find when it to do.
Can I do something wrong?

Best regards
Alex    
 

Re: Can't adjust email notification

by Johan Eklund :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Alex,

You will have to add the following to ejbca-mail-service.properties for
to connection to be upgraded to TLS:
<property name="mail.smtp.starttls.enable" value="true"/>


BR,
Markus

techcrypto wrote:

> Hello,
>
> I need to customize email notification. I edited mail.properties and
> examined all appropriate adjustment in mail.service.xml and
> ejbca-mail-service.xml (JBOSS directory). But when the system tries to send
> message I see error of appsrv -  "Error sending notification to user user1
> with email user1@.... com.sun.mail.smtp.SMTPSendFailedException: 530
> 5.7.0 Must issue a STARTTLS command first. e9sm11606020muf.2.
>
> I understand that I have to set up SSL(TLS) connection to smtp server but I
> can't find when it to do.
> Can I do something wrong?
>
> Best regards
> Alex    
>  


--

PrimeKey Solutions offers a commercial EJBCA support subscription and
training for EJBCA. Please see www.primekey.se or contact
info@... for more information.
http://download.primekey.se/documents/ejbca_subscription.pdf
http://download.primekey.se/documents/ejbca_training.pdf

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Ejbca-develop mailing list
Ejbca-develop@...
https://lists.sourceforge.net/lists/listinfo/ejbca-develop

Re: Can't adjust email notification

by Johan Eklund :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Sorry, of course I meant the ejbca-mail-service.xml.


You will have to add the following under configuration in
ejbca-mail-service.xml for the connection to be upgraded to TLS:
<property name="mail.smtp.starttls.enable" value="true"/>


BR,
Markus


Markus KilÄs wrote:

> Hi Alex,
>
> You will have to add the following to ejbca-mail-service.properties for
> to connection to be upgraded to TLS:
> <property name="mail.smtp.starttls.enable" value="true"/>
>
>
> BR,
> Markus
>
> techcrypto wrote:
>> Hello,
>>
>> I need to customize email notification. I edited mail.properties and
>> examined all appropriate adjustment in mail.service.xml and
>> ejbca-mail-service.xml (JBOSS directory). But when the system tries to send
>> message I see error of appsrv -  "Error sending notification to user user1
>> with email user1@.... com.sun.mail.smtp.SMTPSendFailedException: 530
>> 5.7.0 Must issue a STARTTLS command first. e9sm11606020muf.2.
>>
>> I understand that I have to set up SSL(TLS) connection to smtp server but I
>> can't find when it to do.
>> Can I do something wrong?
>>
>> Best regards
>> Alex    
>>  
>
>


--

PrimeKey Solutions offers a commercial EJBCA support subscription and
training for EJBCA. Please see www.primekey.se or contact
info@... for more information.
http://download.primekey.se/documents/ejbca_subscription.pdf
http://download.primekey.se/documents/ejbca_training.pdf

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Ejbca-develop mailing list
Ejbca-develop@...
https://lists.sourceforge.net/lists/listinfo/ejbca-develop