aspose 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: 19720
    
  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
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: JavaMail sending problem