aspose file tools*
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
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Java Mail" Watch "Java Mail" New topic
Author

Java Mail

Sri Ram
Greenhorn

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 abc@rediffmail.com .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.

http://www.java-tips.org/other-api-tips/javamail/connecting-gmail-using-pop3-connection-with-ssl-2.html
http://www.java-tips.org/other-api-tips/javamail/sending-e-mail-using-javamail-api.html


<a href="http://www.java-forums.org" target="_blank" rel="nofollow">Java Forums</a>
 
 
subject: Java Mail