ZenMagick 0.9.10


zenmagick.store.shared.model\ZMEmailMessage
model\ZMEmailMessage.php at line 33

Class ZMEmailMessage

ZMObject
└─ZMEmailMessage

public class ZMEmailMessage
extends ZMObject

A generic email message container.

Author:
DerManoMann

Fields inherited from org.zenmagick.core\ZMObject
properties_
Method Summary
void

__construct()

Create new instance.

string

getFromEmail()

Get the sender email address.

string

getFromName()

Get the sender name.

string

getMessage()

Get the message.

string

getToEmail()

Get the recipient email address.

string

getToName()

Get the receiver name.

boolean

hasMessage()

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.core\ZMObject
__construct, attachMethod, get, getAttachedMethods, getProperties, getPropertyNames, set, singleton

Method Detail

model\ZMEmailMessage.php at line 44

__construct

public void __construct()

Create new instance.


model\ZMEmailMessage.php at line 66

getFromEmail

public string getFromEmail()

Get the sender email address.

Returns:
The sender email address.

model\ZMEmailMessage.php at line 73

getFromName

public string getFromName()

Get the sender name.

Returns:
The sender name.

model\ZMEmailMessage.php at line 94

getMessage

public string getMessage()

Get the message.

Returns:
The message.

model\ZMEmailMessage.php at line 80

getToEmail

public string getToEmail()

Get the recipient email address.

Returns:
The recipient email address.

model\ZMEmailMessage.php at line 87

getToName

public string getToName()

Get the receiver name.

Returns:
The recipient name.

model\ZMEmailMessage.php at line 136

hasMessage

public boolean hasMessage()

Check if there is a message.

Returns:
true if there is a message, false if not.

model\ZMEmailMessage.php at line 101

setFromEmail

public void setFromEmail(string email)

Set the sender email address.

Parameters:
email - The sender email address.

model\ZMEmailMessage.php at line 108

setFromName

public void setFromName(string name)

Set the sender name.

Parameters:
name - The sender name.

model\ZMEmailMessage.php at line 129

setMessage

public void setMessage(string message)

Set the message.

Parameters:
message - The message.

model\ZMEmailMessage.php at line 115

setToEmail

public void setToEmail(string email)

Set the recipient email address.

Parameters:
email - The recipient email address.

model\ZMEmailMessage.php at line 122

setToName

public void setToName(string name)

Set the receiver name.

Parameters:
name - The recipient name.

ZenMagick 0.9.10