r171 - trunk/cantharella.service/src/main/java/nc/ird/cantharella/service/config
Author: echatellier Date: 2013-03-04 14:33:53 +0100 (Mon, 04 Mar 2013) New Revision: 171 Url: http://forge.codelutin.com/projects/cantharella/repository/revisions/171 Log: Remove property that handle exception 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:26:12 UTC (rev 170) +++ trunk/cantharella.service/src/main/java/nc/ird/cantharella/service/config/ServiceContext.java 2013-03-04 13:33:53 UTC (rev 171) @@ -153,11 +153,6 @@ properties.put("mail.debug", mailDebugProperty); 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); mailSender.setHost(mailHostProperty); mailSender.setPort(MAIL_SMTP_PORT);
participants (1)
-
echatellier@users.forge.codelutin.com