ZMObject
|
+--ZMEmailMessage
public class ZMEmailMessage
extends ZMObject
| Fields inherited from org.zenmagick.ZMObject | |
|---|---|
| properties_ | |
| Constructor Summary | |
|---|---|
Create new instance. |
|
| Method Summary | |
|---|---|
| string | Get the sender email address. |
| string | Get the sender name. |
| string | Get the message. |
| string | Get the recipient email address. |
| string | Get the receiver name. |
| boolean | Check if there is a message. |
| void | setFromEmail(string email) Set the sender email address. |
| void | setFromName(string name) Set the sender name. |
| void | setMessage(string message) Set the message. |
| void | setToEmail(string email) Set the recipient email address. |
| void | setToName(string name) Set the receiver name. |
| Methods inherited from org.zenmagick.ZMObject | |
|---|---|
| attachMethod, get, getAttachedMethods, getPropertyNames, set, singleton | |
public ZMEmailMessage()
Create new instance. /
public string getFromEmail()
Get the sender email address.
public string getFromName()
Get the sender name.
public string getMessage()
Get the message.
public string getToEmail()
Get the recipient email address.
public string getToName()
Get the receiver name.
public boolean hasMessage()
Check if there is a message.
true if there is a message, false if not.public void setFromEmail(string email)
Set the sender email address.
public void setFromName(string name)
Set the sender name.
public void setMessage(string message)
Set the message.
public void setToEmail(string email)
Set the recipient email address.
public void setToName(string name)
Set the receiver name.
A generic email message container.