com.sun.j2ee.blueprints.mail.ejb
Class MailHelper

java.lang.Object
  |
  +--com.sun.j2ee.blueprints.mail.ejb.MailHelper

public class MailHelper
extends java.lang.Object

A helper class to create and send mail.


Constructor Summary
MailHelper()
           
 
Method Summary
 void createAndSendMail(EMailMessage eMess)
          This method creates an email message and sends it using the J2EE mail services
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MailHelper

public MailHelper()
Method Detail

createAndSendMail

public void createAndSendMail(EMailMessage eMess)
                       throws SendMailException
This method creates an email message and sends it using the J2EE mail services
Parameters:
to - indended recipient of the email message
subject - the subject line of the email message
htmlContents - contents of the email message


Copyright © 2000 Sun Microsystems Inc. All Rights Reserved.