|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.blojsom.plugin.email.EmailMessage
Send Email (SMTP) Plugin Message. This exists since when EmailUtils creates the messages it wont have access to the Session instance held by SendEmailPlugin.
Constructor Summary | |
EmailMessage(java.lang.String subject,
java.lang.String message)
Email message constructor |
|
EmailMessage(java.lang.String from,
java.lang.String to,
java.lang.String subject,
java.lang.String message)
E-mail message constructor |
Method Summary | |
java.lang.String |
getFrom()
Get the from: address for the e-mail |
java.lang.String |
getMessage()
Get the e-mail message content |
java.lang.String |
getSubject()
Get the subject of the e-mail |
java.lang.String |
getTo()
Get the to: address for the e-mail |
void |
setFrom(java.lang.String from)
Set the from: address for the e-mail |
void |
setMessage(java.lang.String message)
Set the message content for the e-mail |
void |
setSubject(java.lang.String subject)
Set the subject of the e-mail |
void |
setTo(java.lang.String to)
Set the to: address for the e-mail |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public EmailMessage(java.lang.String subject, java.lang.String message)
subject
- E-mail subjectmessage
- E-mail messagepublic EmailMessage(java.lang.String from, java.lang.String to, java.lang.String subject, java.lang.String message)
from
- Fromto
- Tosubject
- E-mail subjectmessage
- E-mail messageMethod Detail |
public java.lang.String getFrom()
public void setFrom(java.lang.String from)
from
- From: addresspublic java.lang.String getTo()
public void setTo(java.lang.String to)
to
- To: addresspublic java.lang.String getSubject()
public void setSubject(java.lang.String subject)
subject
- E-mail subjectpublic java.lang.String getMessage()
public void setMessage(java.lang.String message)
message
- Message content
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |