Menu

#6 FROM ADDRESS of email is set to SMTP_AUTH_USER

open
nobody
5
2011-03-18
2011-03-18
No

in Mail.java:64
msg.setFrom(new InternetAddress(SMTP_AUTH_USER));

Yields the following error message from our company SMTP server:
com.sun.mail.smtp.SMTPSendFailedException: 550 5.7.1 Client does not have permissions to send as this sender

There's another configuration property needed for the email account used for sending notifications: FROM ADDRESS
Because not for all systems SMTP_AUTH_USER and FROM_ADDRESS are identically.

Discussion


Log in to post a comment.