This week's book giveaway is in the OCMJEA forum.
We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line!
See this thread for details.
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

Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
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