Class representing the database entity of an email.
category |
System |
---|---|
package |
|
subpackage |
Entities |
__construct(\EmailContactInterface $sender = null, \EmailContactInterface $recipient = null, \EmailSubjectInterface $subject = null, \EmailContentInterface $contentHtml = null, \EmailContentInterface $contentPlain = null)
All parameters are optional and can be set after the creation of the Email object. All class properties will have "null" as default value.
getAttachments() : \AttachmentCollectionInterface
getBcc() : \ContactCollectionInterface
getCc() : \ContactCollectionInterface
getContentHtml() : \EmailContentInterface
getContentPlain() : \EmailContentInterface
getCreationDate() : \DateTime
\DateTime
E-Mail creation date.
getId() : integer
integer
E-Mail ID.
getRecipient() : \EmailContactInterface
getReplyTo() : \EmailContactInterface
getSender() : \EmailContactInterface
getSentDate() : \DateTime
\DateTime
E-Mail sent date.
getSubject() : \EmailSubjectInterface
isPending() : boolean
boolean
E-Mail pending status.
setAttachments(\AttachmentCollectionInterface $attachments)
setBcc(\ContactCollectionInterface $bcc)
setCc(\ContactCollectionInterface $cc)
setContentHtml(\EmailContentInterface $contentHtml)
setContentPlain(\EmailContentInterface $contentPlain)
setCreationDate(\DateTime $creationDate)
\DateTime
E-Mail creation date.
setPending(boolean $p_isPending)
Throws |
|
---|
boolean
E-Mail pending status.
setRecipient(\EmailContactInterface $recipient)
setReplyTo(\EmailContactInterface $recipient)
setSender(\EmailContactInterface $sender)
setSentDate(\DateTime $sentDate)
\DateTime
E-Mail sent date.
setSubject(\EmailSubjectInterface $subject)
id : integer
var |
---|
integer
isPending : boolean
var |
---|
boolean
creationDate : \DateTime
var |
---|
\DateTime
sentDate : \DateTime
var |
---|
\DateTime