This week's giveaway is in the Spring forum.
We're giving away four copies of REST with Spring (video course) and have Eugen Paraschiv on-line!
See this thread for details.
The moose likes Other JSE/JEE APIs and the fly likes Java Mail Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » Other JSE/JEE APIs
Bookmark "Java Mail" Watch "Java Mail" New topic

Java Mail

Owen Martin

Joined: Mar 05, 2010
Posts: 14
Hi, I am sending mails via Java Mail. I want to relay information to people but depending on the circumstance the text and the amount of paragraphs will change.

How do I dynamically add plain text to a Java Mail?

Paul Clapham

Joined: Oct 14, 2005
Posts: 19864

Your question sounds like you're starting off in several wrong directions all at once. However if you have downloaded JavaMail, you should be able to find some basic sample code in with your download. Have a look at that code and hopefully things should become clearer.
wood burning stoves
subject: Java Mail
It's not a secret anymore!