Hi Sourav, do you use smtp-auth or just "normal" smtp for sending email ? Could you show us your smtpserver component config in config.xml ?
Thx. Norman 2010/1/3 Sourav Basu <[email protected]>: > 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 > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
