File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Java in General and the fly likes send mail using javamail error Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "send mail using javamail error" Watch "send mail using javamail error" New topic
Author

send mail using javamail error

peter qiu
Greenhorn

Joined: Dec 10, 2002
Posts: 4
when i send the email using the smtp service i got the exception as " class javax.mail.MessagingException: 505 Error: Client was not authenticated ". I dont' know how to make myself authenticated in the java program as to send the mail?
karl koch
Ranch Hand

Joined: May 25, 2001
Posts: 388
hi
the properties that you pass to the

the props must contain:

along with the other stuff you need there.
hope this helped.
k
peter qiu
Greenhorn

Joined: Dec 10, 2002
Posts: 4
hi karl,
Thank you very much for your help! it really works now!
regards
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: send mail using javamail error