[esb-issues] [JBoss JIRA] Updated: (JBESB-1047) org.jboss.soa.esb.mail.smtp.auth not present in jbossesb-properties.xml

Mark Little (JIRA) jira-events at lists.jboss.org
Sat Sep 15 12:34:11 EDT 2007


     [ http://jira.jboss.com/jira/browse/JBESB-1047?page=all ]

Mark Little updated JBESB-1047:
-------------------------------

    Fix Version/s: 4.2.1 IR1

> org.jboss.soa.esb.mail.smtp.auth not present in jbossesb-properties.xml
> -----------------------------------------------------------------------
>
>                 Key: JBESB-1047
>                 URL: http://jira.jboss.com/jira/browse/JBESB-1047
>             Project: JBoss ESB
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: Configuration
>    Affects Versions: 4.2
>            Reporter: Eric Cartman
>         Assigned To: Mark Little
>             Fix For: 4.2.1 IR1
>
>
> org.jboss.soa.esb.mail.smtp.auth is not present in the default jbossesb-properties.xml.
> Without this property, the smtp authentication is not working.
> So I discovered the property reading the  code at org.jboss.soa.esb.helpers.Email, line 381:
> 		String sAuth = Configuration.getSmtpAuth();
> 		if(sAuth != null) {
> 			if(!sAuth.trim().equals("")) {
> 				logger.warn("'" + Environment.SMTP_AUTH + "' set to an empty value.");
> 			}
> 			oMailP.setProperty("mail.smtp.auth", sAuth);
> 		}
> Workaround, including at deploy/jbossesb.sar/jbossesb-properties.xml.
>     	<property name="org.jboss.soa.esb.mail.smtp.auth" value="true"/>
> Thanks,
> Erik

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the esb-issues mailing list