my dog learned polymorphism*
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
JavaRanch » Java Forums » Java » Other JSE/JEE APIs
Bookmark "Java Mail" Watch "Java Mail" New topic
Author

Java Mail

Owen Martin
Greenhorn

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
Bartender

Joined: Oct 14, 2005
Posts: 18541
    
    8

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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Java Mail
 
Similar Threads
Attachment at specific Place
Problem sending mail.
mime type problem
Unformated text file in java mail
HTML Table Border showing up thick , when viewed on lotus notes