开发者

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜