This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
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
 
Similar Threads
Sending mail through Java
mail authentication
Sending Mail from Ant
Javax.mail.MessagingException
Email impersonating