Bug 50668

Summary: The MailLogger feature does not take into account properly the "MailLogger.starttls.enable" system property
Product: Ant Reporter: Édouard Mercier <register>
Component: CoreAssignee: Ant Notifications List <notifications>
Status: RESOLVED FIXED    
Severity: blocker    
Priority: P2    
Version: 1.8.2   
Target Milestone: 1.8.3   
Hardware: All   
OS: All   

Description Édouard Mercier 2011-01-27 07:00:43 UTC
The bug lies on line 380 of class "MailLogger", where "mailer.setEnableStartTLS(values.ssl());" should be replaced by "mailer.setEnableStartTLS(values.starttls());", so that the "MailLogger.starttls.enable" system command-line property is properly taken into account.

With the current state of the source code, it is not possible to use the Gmail SMTP server for logging the result of an Ant script execution!
Comment 1 Stefan Bodewig 2011-01-30 02:25:04 UTC
Sorry, I knew I shouldn't have committed a change I couldn't test myself.

Fixed with svn revision 1065204

Thanks!