Hi,

I've recently installed James Server 2.3.2 on my machine and I've written a
sample program using javamail to send emails using James Server 2.3.2.
However I'm receiving the following error message:

Exception in thread "main" *javax.mail.SendFailedException*: Invalid
Addresses;

nested exception is:

*com.sun.mail.smtp.SMTPAddressFailedException*: 550 5.7.1 Unable to relay
for <user>@localhost
at com.sun.mail.smtp.SMTPTransport.rcptTo(*SMTPTransport.java:1607*)



I'm able to use the GMAIL SMTP server to send emails using javamail though.
Could you please help me resolve the issue?
--
Regards,
Sourav

Reply via email to