File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Other JSE/JEE APIs and the fly likes Problem with Sending Mail 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 "Problem with Sending Mail" Watch "Problem with Sending Mail" New topic

Problem with Sending Mail

Yurong Chen

Joined: Jul 23, 2002
Posts: 18
I met a problem in sending email. I want to send a email with both body content and attachment content. I try the following code:

However, I received the email only with the attachment. I cannot find any body content in my email. Could anybody help me? Thank you in advance!
I agree. Here's the link:
subject: Problem with Sending Mail
It's not a secret anymore!