Problem with Apache James
I'm trying send email using Apache James, as server, for external account and I'm receiving the following exception :
Caused by: com.sun.mail.smtp.SMTPAddressFailedException: 550 5.7.1 Requested action not taken: relaying denied
at com.sun.mail.smtp.SMTPTransport.rcptTo(SMTPTransport.java:1686)
... 6 more
Somebody please help m开发者_如何学Goe to resolve the issue
Thanks in advance
Alisson
Sounds like you didn't authenticate to the SMTP server. Show some code if you need more help.
You can not send an email to external mail addresses, say for instance your gmail id, unless and until you have a static IP. The SMTP of the server has the configuration to stop emails from dynamic IPs.
精彩评论