Interface EmailFactoryInterface
category |
System |
---|---|
package |
|
subpackage |
Interfaces |
createAttachment(\AttachmentPathInterface $path, \AttachmentNameInterface $name = null) : \EmailAttachment
createAttachmentsHandler(string $p_uploadsDirPath = null) : \AttachmentsHandler
string
(optional) You can specify a custom uploads directory path if you do not want the default "uploads" directory. The path must contain a "tmp" and an "attachments" directory otherwise the AttachmentsHandler class will not work properly.
\AttachmentsHandler
The created attachments handler.
createContact(\EmailAddressInterface $emailAddress, \ContactTypeInterface $contactType, \ContactNameInterface $contactName = null) : \EmailContact
createDeleter() : \EmailDeleter
createEmail(\IdType $id = null, \EmailSubjectInterface $subject = null, \EmailContentInterface $contentHtml = null, \EmailContentInterface $contentPlain = null, boolean $p_isPending = true, \ContactCollectionInterface $contacts = null, \AttachmentCollectionInterface $attachments = null) : \Email
createMailer(string $protocol = null, \EmailMailerSettings|null $mailerSettings = null) : \PHPMailer
string
(Optional) Provide 'smtp', 'sendmail' or 'mail' if you want to override the EMAIL_TRANSPORT constant.
\PHPMailer
The created PHP mailer.
createMailerAdapter() : \MailerAdapter
createReader() : \EmailReader
createRepository() : \EmailRepository
createService() : \EmailService
createWriter() : \EmailWriter