Author: echatellier Date: 2013-03-04 14:26:12 +0100 (Mon, 04 Mar 2013) New Revision: 170 Url: http://forge.codelutin.com/projects/cantharella/repository/revisions/170 Log: Add comment Modified: trunk/cantharella.service/src/main/java/nc/ird/cantharella/service/config/ServiceContext.java Modified: trunk/cantharella.service/src/main/java/nc/ird/cantharella/service/config/ServiceContext.java =================================================================== --- trunk/cantharella.service/src/main/java/nc/ird/cantharella/service/config/ServiceContext.java 2013-03-04 13:24:47 UTC (rev 169) +++ trunk/cantharella.service/src/main/java/nc/ird/cantharella/service/config/ServiceContext.java 2013-03-04 13:26:12 UTC (rev 170) @@ -154,6 +154,8 @@ properties.put("mail.smtp.connectiontimeout", MAIL_SMTP_TIMEOUT); properties.put("mail.smtp.timeout", MAIL_SMTP_TIMEOUT); if (mailDebugProperty) { + // this next line generate a SMTPAddressSucceededException + // when sending an email properties.put("mail.smtp.reportsuccess", Boolean.TRUE); } mailSender.setJavaMailProperties(properties);
participants (1)
-
echatellier@users.forge.codelutin.com