phpDocumentor

EmailInterface

Interface EmailInterface

Tags
category

System

subpackage

Interfaces

Table of Contents

getAttachments()  : AttachmentCollectionInterface
Returns the attachments of an email.
getBcc()  : ContactCollectionInterface
Returns the BCC of an email.
getCc()  : ContactCollectionInterface
Returns the CC of an email.
getContentHtml()  : EmailContentInterface
Returns the HTML content of an email.
getContentPlain()  : EmailContentInterface
Returns the plain content of an email.
getCreationDate()  : DateTime
Returns the creation date of an email.
getId()  : IdType
Returns the ID of an email.
getRecipient()  : EmailContactInterface
Returns the recipient of an email.
getReplyTo()  : EmailContactInterface
Returns the 'reply to' option value of an email.
getSender()  : EmailContactInterface
Returns the sender of an email
getSentDate()  : DateTime
Returns the sent date of an email.
getSubject()  : EmailSubjectInterface
Returns the subject of an email.
isPending()  : bool
Returns if an email is pending or sent.
setAttachments()  : mixed
Sets the attachments of an email.
setBcc()  : mixed
Sets the BCC of an email.
setCc()  : mixed
Sets the CC of an email.
setContentHtml()  : mixed
Sets the HTML content of an email.
setContentPlain()  : mixed
Sets the plain content of an email.
setCreationDate()  : mixed
Sets the creation date of an email.
setId()  : mixed
Sets the ID of an email.
setPending()  : mixed
Sets an email status to pending if true is given, else sent.
setRecipient()  : mixed
Sets the recipient of an email.
setReplyTo()  : mixed
Sets the 'reply to' option value of an email.
setSender()  : mixed
Sets the sender of an email.
setSentDate()  : mixed
Sets the sent date of an email.
setSubject()  : mixed
Sets the subject of an email.

Methods

getCreationDate()

Returns the creation date of an email.

public getCreationDate() : DateTime
Return values
DateTime

E-Mail creation date.

getSentDate()

Returns the sent date of an email.

public getSentDate() : DateTime
Return values
DateTime

E-Mail sent date.

isPending()

Returns if an email is pending or sent.

public isPending() : bool
Return values
bool

E-Mail pending status.

setCreationDate()

Sets the creation date of an email.

public setCreationDate(DateTime $creationDate) : mixed
Parameters
$creationDate : DateTime

E-Mail creation date.

Return values
mixed

setPending()

Sets an email status to pending if true is given, else sent.

public setPending(bool $p_isPending) : mixed
Parameters
$p_isPending : bool

E-Mail pending status.

Return values
mixed

setSentDate()

Sets the sent date of an email.

public setSentDate(DateTime $sentDate) : mixed
Parameters
$sentDate : DateTime

E-Mail sent date.

Return values
mixed

Search results