|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfable.utility.MailSender
public class MailSender
This class is used to send mail
Method Summary | |
---|---|
static boolean |
sendMail(java.lang.String from,
java.lang.String mailAddr,
java.lang.String title,
java.lang.String body,
boolean sendAsText,
java.lang.String attachment)
Sends email |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static boolean sendMail(java.lang.String from, java.lang.String mailAddr, java.lang.String title, java.lang.String body, boolean sendAsText, java.lang.String attachment)
from
- The name of the sendermailAddr
- The email address of the receivertitle
- Subject of the emailbody
- Body of the emailsendAsText
- true if to send as a text file, false if to send as htmlattachment
- One attachment to send with this mail, or null if there are none. If there is an attachment, the string should be the path of the attachment file.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |