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

Eric Cartman (JIRA) jira-events at lists.jboss.org
Fri Sep 14 19:57:11 EDT 2007


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



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);
		}


Fixed, 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