aspose file tools*
The moose likes Other JSE/JEE APIs and the fly likes Not able to run JavaMail class Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Other JSE/JEE APIs
Bookmark "Not able to run JavaMail class" Watch "Not able to run JavaMail class" New topic
Author

Not able to run JavaMail class

Hussein Baghdadi
clojure forum advocate
Bartender

Joined: Nov 08, 2003
Posts: 3479

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 ?
Paul Clapham
Bartender

Joined: Oct 14, 2005
Posts: 18988
    
    8

Are you sure it said "replying denied"? I ask because "relaying" is mentioned in the JavaMail FAQ.
Hussein Baghdadi
clojure forum advocate
Bartender

Joined: Nov 08, 2003
Posts: 3479

You are right, is it relaying.
Paul Clapham
Bartender

Joined: Oct 14, 2005
Posts: 18988
    
    8

That's what I thought.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Not able to run JavaMail class