File path: dist/twist/Core/Models/Email/Create.model.php
Namespace: Twist\Core\Models\Email
Type: Model
Create
— Generate and send full multi-lingual multi-part HTML emails with the ability to add attachments. Fully customisable with Char encoding, message encoding, priority and sensitivity.
<?php
//Set the variables for the example
$blStatus = true;
//Call the function useFromParam with the example vars
$resCreate = new \Twist\Core\Models\Email\Create();
$resCreate -> useFromParam($blStatus);
Method | Access | Returns |
---|---|---|
__construct | construct | void |
useSMTP | public | void |
useFromParam | public | void |
reset | protected | void |
setEncoding | public | void |
setCharEncoding | public | void |
addTo | public | void |
addCc | public | void |
addBcc | public | void |
setFrom | public | void |
setReplyTo | public | void |
setSubject | public | void |
setBodyPlain | public | void |
setBodyHTML | public | void |
setPriority | public | void |
setSensitivity | public | void |
disableSenderChecking | public | void |
setCustomSender | public | void |
setViewInBrowser | public | void |
addAttachment | public | void |
senderValidation | public | void |
send | public | void |
generatePlainMessage | protected | void |
sanitisePlainMessage | protected | void |
stripTags | protected | void |
generateHTMLMessage | protected | void |
convertEncodingHeader | protected | void |
convertEncodingBody | protected | void |
buildBody | protected | void |
encodeMultipartMessage | protected | void |
attachmentHeaders | protected | void |