File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Other JSE/JEE APIs and the fly likes JavaMail sending problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Other JSE/JEE APIs
Bookmark "JavaMail sending problem" Watch "JavaMail sending problem" New topic
Author

JavaMail sending problem

Vassili Vladimir
Ranch Hand

Joined: Mar 08, 2007
Posts: 1585
Hi,

I'm trying to use JavaMail but it's not actually sending.

This is my source code:



Note that mail@domain.com and SERVER_IP are all substituted with values in real code and are not being shown here for security reasons.

When i run the code, the sent ... is being printed, but no mail is being sent or received.

What could be the problem ?

Thanks,

Vassili ...
SCJP 5.0, SCWCD 1.4, SCJA 1.0
Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 19718
    
  20

Change the value of debug to true and post the output then please.


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions How To Answer Questions
 
 
subject: JavaMail sending problem