I have tryed to send mails with Java Mail API and ended in Success, but when i try to send a mail through a Web application(invoked from a Servlet) the mail content and the Attachments are missing. No exceptions and no error, even the mail is sent successfully only the contents are missing.
I have even tried the Spring API, result is the same.
From Standalone Main method- Mails sent with content and Attachments From Servlet doGet method - Mails sent but no content and no Attachments.
Ashok<br /> <br />SCJP 91%<br />SCWCD 88%
Ashok Kumar Babu
Joined: Jul 25, 2006
I have missed the Activation.jar in my Application which is the root cause of the problem above said. Activation.jar is containing the class file to set Mime type of the Mail.