|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.ebay.carad.os.vitalsigns.util.MailUtil
public abstract class MailUtil
Simple util for sending a message.
Constructor Summary | |
---|---|
MailUtil()
|
Method Summary | |
---|---|
static void |
sendMessage(java.lang.String[] from,
java.lang.String[] to,
java.lang.String subject,
java.lang.String body,
java.lang.String server)
Sends an e-mail message. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MailUtil()
Method Detail |
---|
public static void sendMessage(java.lang.String[] from, java.lang.String[] to, java.lang.String subject, java.lang.String body, java.lang.String server) throws javax.mail.MessagingException
from
- an array of from e-mail addressesto
- an array of to e-mail addressessubject
- email subjectbody
- email bodyserver
- SMTP server
javax.mail.MessagingException
- if bad things happen
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |