|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectuk.ac.soton.itinnovation.grid.service.utils.EmailMessage
public class EmailMessage
EmailMessage class This class is designed to build an email EmailMessage. This class is used to create a EmailMessage object which is then passed to a Transport object. The Transport object sends off this EmailMessage as an email EmailMessage
| Constructor Summary | |
|---|---|
EmailMessage()
EmailMessage() constractor |
|
| Method Summary | |
|---|---|
String |
getFromEmail()
get the sender email address |
String |
getFromName()
get the sender name |
String |
getSubject()
Returns the EmailMessage subject. |
String |
getText()
Returns the EmailMessage text. |
String |
getToEmail()
get recipient name |
String |
getToName()
get recipient name |
void |
setFromEmail(String email)
set the sender email address |
void |
setFromName(String name)
set the sender name |
void |
setSubject(String s)
Sets the SUBJECT of the email. |
void |
setText(String msg)
Sets the text body of the email. |
void |
setToEmail(String email)
Returns the sender name |
void |
setToName(String name)
Returns the sender name |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public EmailMessage()
| Method Detail |
|---|
public String getFromName()
public void setFromName(String name)
public String getToName()
public void setToName(String name)
public String getFromEmail()
public void setFromEmail(String email)
public String getToEmail()
public void setToEmail(String email)
public String getSubject()
public String getText()
public void setSubject(String s)
public void setText(String msg)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||