Gmail does not accept unencrypted connections on port 25 (common now
for public mail servers, but not the case when log4j was first written).
Support for SMTP over SSL (port 443 if I remember correctly) was added
to the log4j code base last fall, https://issues.apache.org/bugzilla/show_bug.cg
hi,
I am getting an exception when using gmail in log4j SMTPAppender
log4j:ERROR Error occured while sending e-mail notification.
com.sun.mail.smtp.SMTPSendFailedException: 530 5.7.0 Must issue a STARTTLS
command first. f21sm25128997rvb.36
at com.sun.mail.smtp.SMTPTransport.issueSendCommand(SMT