|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.paneris.jal.model.Email
public class Email
Send an email to one or more recipients.
Constructor Summary | |
---|---|
Email()
|
Method Summary | |
---|---|
static void |
send(java.lang.String database,
java.lang.String fromEmail,
java.lang.String to,
java.lang.String replyto,
java.lang.String subject,
java.lang.String message)
Send an email. |
static void |
send(java.lang.String database,
java.lang.String fromName,
java.lang.String fromEmail,
java.lang.String to,
java.lang.String replyto,
java.lang.String subject,
java.lang.String message)
Send an email. |
static void |
sendToList(java.lang.String database,
java.lang.String fromName,
java.lang.String fromEmail,
java.lang.String[] toList,
java.lang.String apparentlyTo,
java.lang.String replyto,
java.lang.String subject,
java.lang.String message)
Send an email to a list of recipients. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Email()
Method Detail |
---|
public static void send(java.lang.String database, java.lang.String fromEmail, java.lang.String to, java.lang.String replyto, java.lang.String subject, java.lang.String message) throws java.lang.Exception
database
- our database namefromEmail
- email fromto
- email (and name possibly) toreplyto
- who to reply to (possibly "")subject
- message subjectmessage
- message body
java.lang.Exception
- if anything goes wrongpublic static void send(java.lang.String database, java.lang.String fromName, java.lang.String fromEmail, java.lang.String to, java.lang.String replyto, java.lang.String subject, java.lang.String message) throws java.lang.Exception
database
- our database namefromName
- name email fromfromEmail
- email fromto
- email (and name possibly) toreplyto
- who to reply to (possibly "")subject
- message subjectmessage
- message body
java.lang.Exception
- if anything goes wrongpublic static void sendToList(java.lang.String database, java.lang.String fromName, java.lang.String fromEmail, java.lang.String[] toList, java.lang.String apparentlyTo, java.lang.String replyto, java.lang.String subject, java.lang.String message) throws java.lang.Exception
database
- our database namefromName
- name email fromfromEmail
- email fromto
- email (and name possibly) totoList
- list of emails (possibly names) comma separatedapparentlyTo
- goes in To fieldreplyto
- who to reply to (possibly "")subject
- message subjectmessage
- message body
java.lang.Exception
- if anything goes wrong
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |