While searching on the net I found that I should set the starttls
property as
property.put("mail.smtp.starttls.enable","true");
Where do you make this call? You'll need to set it as a System property
BEFORE the SMTPAppender is configured, as it creates the Properties
bundle during activation:
SMTPAppender: line 112 (from HEAD)
...
Properties props = new Properties(System.getProperties());
if (smtpHost != null) {
props.put("mail.smtp.host", smtpHost);
}
Session session = Session.getInstance(props, null);
cheers,
Paul
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]