[Logo] Mentawai Recipes
  [Search] Search   [Recent Topics] Recent Topics   [Hottest Topics] Hottest Topics   [Members]  Member Listing   [Groups] Back to home page 
[Moderation Log] Moderation Log   [Register] Register / 
[Login] Login 
Sending simple emails  XML
Forum Index » Official Recipes
Author Message

Joined: 10/01/2008 08:20:15
Messages: 39

First get the mail.jar and activation.jar that comes in the Mentawai lib directory and place them in the WEB-INF/lib directory of your web application.

Set some default values in the ApplicationManager so that you don't need to set them each time you want to send an e-mail message. Of course you can always override the default values if you want to.

Now to send an email message you just do this:

Or you can send an HTML e-mail message:

Forum Index » Official Recipes
Go to:   
Powered by JForum 2.1.8 © JForum Team