This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell 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


JavaRanch » Java Forums » Java » Other JSE/JEE APIs
Bookmark "Problem with Sending Mail" Watch "Problem with Sending Mail" New topic
Author

Problem with Sending Mail

Yurong Chen
Greenhorn

Joined: Jul 23, 2002
Posts: 18
Hello,
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!
Yurong
 
GeeCON Prague 2014
 
subject: Problem with Sending Mail