File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Beginning Java and the fly likes Java Mail Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Java Mail" Watch "Java Mail" New topic

Java Mail

Sri Ram

Joined: Feb 13, 2006
Posts: 20
Hi when I try to send a simple java mail using the below code I get the following exception.

I have replaced my actual email address with .Please help.

Sriram<br />SCJP<br />SCWCD
Keith Lynn
Ranch Hand

Joined: Feb 07, 2005
Posts: 2367
Did you try doing get message first?
rohit leeta
Ranch Hand

Joined: May 02, 2007
Posts: 49
Check these tips. They might help you to resolve your problem.

<a href="" target="_blank" rel="nofollow">Java Forums</a>
wood burning stoves
subject: Java Mail
jQuery in Action, 3rd edition