my dog learned polymorphism
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 Introducing JavaFX 8 Programming this week in the JavaFX 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>
I agree. Here's the link:
subject: Java Mail
It's not a secret anymore!