Novell exteNd
Director 5.2 API

com.sssw.fw.util
Class EboMailHelper

java.lang.Object
 |
 +--com.sssw.fw.util.EboMailHelper

public class EboMailHelper
extends Object

Provides mail utility methods.


Constructor Summary
EboMailHelper()
           
 
Method Summary
static void send(String from, Address[] to, Address[] cc, Address[] bcc, String host, String subject, String msgText, Address[] replyTo)
          Sends an email message (provides more options to the caller).
static void send(String from, String to, String host, String subject, String msgText)
          Sends an email message.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EboMailHelper

public EboMailHelper()
Method Detail

send

public static void send(String from,
                        String to,
                        String host,
                        String subject,
                        String msgText)
                 throws MessagingException
Sends an email message.
Parameters:
from - the sender
to - the recipient
host - the host
subject - the subject
msgText - the message body

send

public static void send(String from,
                        Address[] to,
                        Address[] cc,
                        Address[] bcc,
                        String host,
                        String subject,
                        String msgText,
                        Address[] replyTo)
                 throws MessagingException
Sends an email message (provides more options to the caller).
Parameters:
from - the sender
to - the "To" recipients
cc - the "Cc" recipients
bcc - the "Bcc" recipients
host - the host
subject - the subject
msgText - the message body
replyTo - the "Reply-To" header value

Novell exteNd
Director 5.2 API