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
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: 19543
    
  16

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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JavaMail sending problem
 
Similar Threads
How to send mail form java application
Java mail api
urgent help in java mail
AuthenticatedFailedException is thrown javamail
Getting exception in sending Email from Servlet