com.sssw.fw.util
Class EboMailHelper
java.lang.Object
|
+--com.sssw.fw.util.EboMailHelper
- public class EboMailHelper
- extends Object
Provides mail utility methods.
|
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 |
EboMailHelper
public EboMailHelper()
send
public static void send(String from,
String to,
String host,
String subject,
String msgText)
throws MessagingException
- Sends an email message.
- Parameters:
from - the senderto - the recipienthost - the hostsubject - the subjectmsgText - 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 senderto - the "To" recipientscc - the "Cc" recipientsbcc - the "Bcc" recipientshost - the hostsubject - the subjectmsgText - the message bodyreplyTo - the "Reply-To" header value