We are getting the following error when trying to send emails via SMTP. The smtp address, username, and password are set but it seems that anonymous is being used to send the email. (Note the actual emails were replaced with
xx...@xxx.com).
2015-01-20 13:47:54, ERROR, queue.EmailQueueManager, error during email send attempt: com.sun.mail.smtp.SMTPSendFailedException: 530 5.7.57 SMTP; Client was not authenticated to send anonymous mail during MAIL FROM
2015-01-20 13:47:54, ERROR, queue.EmailQueueManager, error sending email (530 5.7.57 SMTP; Client was not authenticated to send anonymous mail during MAIL FROM
) from: Alert Notification <
xx...@xxx.com>, to:
xx...@xxx.com, subject: PWM Alert - Configuration Modification, permanent failure, discarding message
Configuration file - (xxxx represent data that was removed for identity purposes)
<setting key="email.smtp.address" syntax="STRING">^M
279 <label>SMTP Email Server Address</label>^M
280 <value><![CDATA[
smtp.office365.com]]></value>^M
281 </setting>^M
282 <setting key="email.smtp.username" syntax="STRING">^M
283 <label>SMTP Email Server Username</label>^M
284 <value><![CDATA[
xx...@xxxx.com]]></value>^M
285 </setting>^M
286 <setting key="email.smtp.userpassword" syntax="PASSWORD">^M
287 <label>SMTP Email Server Password</label>^M
288 <!--Note: This value is encrypted and can not be edited directly.--> ^M
289 <!--Please use the Configuration Manager GUI to modify this value.-- >^M
290 <value>xxxxxxxxxxx==</value>^M