Hi.
Here is my code :
To run the class, I wrote :
java SendMail smtp.google.com
johntodd@gmail.com john.todd@gmail.com But I got the following exception :
nested exception :
javax.mail.SendFailedException : invalid addresses
nested :
javax.mail.SendFailedException : 550.5.7.1
johntodd@gmail.com replying denied.
IP name lookup failed
Any ideas ?