Class Email
Class representing the database entity of an email.
- Email implements EmailInterface
Methods summary
public
__construct( EmailContactInterface $sender = null, EmailContactInterface $recipient = null, EmailSubjectInterface $subject = null, EmailContentInterface $contentHtml = null, EmailContentInterface $contentPlain = null )
Class Constructor
public
setAttachments( AttachmentCollectionInterface $attachments )
Sets the attachments of an email.
public
setPending( boolean $p_isPending )
Sets an email status to pending if true is given, else sent.