Class EmailFactory
| category |
System |
|---|---|
| package |
|
__construct(\CI_DB_query_builder $db)
\CI_DB_query_builderQuery builder.
_buildMailerSettings() : boolean|\EmailMailerSettings
_getDbConnection() : \CI_DB_query_builder
\CI_DB_query_builderDatabase connection.
_string( $string) : \StringType
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.
\AttachmentsHandlerThe 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
| Throws |
|
|---|
boolean(optional) E-Mail is pending?
\EmailThe created 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.
\PHPMailerThe created PHP mailer.
createMailerAdapter() : \MailerAdapter
createPunycodeEncoder() : \TrueBV\Punycode
createReader() : \EmailReader
createRepository() : \EmailRepository
createService() : \EmailService
createWriter() : \EmailWriter
db : \CI_DB_query_builder
| var |
|---|
\CI_DB_query_builder