Interface EmailInterface

Interface EmailInterface

Direct known implementers

Email

Methods summary

public setId( IdType $id )

Sets the ID of an email.

public getId( void ) : IdType

Returns the ID of an email.

public setSender( EmailContactInterface $sender )

Sets the sender of an email.

public getSender( void ) : EmailContactInterface

Returns the sender of an email

public setRecipient( EmailContactInterface $recipient )

Sets the recipient of an email.

public getRecipient( void ) : EmailContactInterface

Returns the recipient of an email.

public setReplyTo( EmailContactInterface $recipient )

Sets the 'reply to' option value of an email.

public getReplyTo( void ) : EmailContactInterface

Returns the 'reply to' option value of an email.

public setSubject( EmailSubjectInterface $subject )

Sets the subject of an email.

public getSubject( void ) : EmailSubjectInterface

Returns the subject of an email.

public setContentPlain( EmailContentInterface $contentPlain )

Sets the plain content of an email.

public getContentPlain( void ) : EmailContentInterface

Returns the plain content of an email.

public setContentHtml( EmailContentInterface $contentHtml )

Sets the HTML content of an email.

public getContentHtml( void ) : EmailContentInterface

Returns the HTML content of an email.

public setAttachments( AttachmentCollectionInterface $attachments )

Sets the attachments of an email.

public getAttachments( void ) : AttachmentCollectionInterface

Returns the attachments of an email.

public setBcc( ContactCollectionInterface $bcc )

Sets the BCC of an email.

public getBcc( void ) : ContactCollectionInterface

Returns the BCC of an email.

public setCc( ContactCollectionInterface $cc )

Sets the CC of an email.

public getCc( void ) : ContactCollectionInterface

Returns the CC of an email.

public setPending( boolean $p_isPending )

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

public isPending( void ) : boolean

Returns if an email is pending or sent.

public setCreationDate( DateTime $creationDate )

Sets the creation date of an email.

public getCreationDate( void ) : DateTime

Returns the creation date of an email.

public setSentDate( DateTime $sentDate )

Sets the sent date of an email.

public getSentDate( void ) : DateTime

Returns the sent date of an email.