Class EmailFactory
Class EmailFactory
- EmailFactory implements EmailFactoryInterface
Methods summary
public
createEmail( IdType $id = null, EmailSubjectInterface $subject = null, EmailContentInterface $contentHtml = null, EmailContentInterface $contentPlain = null, boolean $p_isPending = true, ContactCollectionInterface $contacts = null, AttachmentCollectionInterface $attachments = null )
: Email
Creates an email object
public
createContact( EmailAddressInterface $emailAddress, ContactTypeInterface $contactType, ContactNameInterface $contactName = null )
: EmailContact
Creates an email contact object
public
createAttachment( AttachmentPathInterface $path, AttachmentNameInterface $name = null )
: EmailAttachment
Creates an email attachment object
public
createMailer( string $protocol = null, EmailMailerSettings $mailerSettings = null )
: PHPMailer
Creates a PHP mailer object.
protected
_buildMailerSettings( void )
: boolean|EmailMailerSettings
Builds and returns the mailer settings.
public
createAttachmentsHandler( string $p_uploadsDirPath = null )
: AttachmentsHandler
Creates an attachments handler object