TwistPHP Documentation

addAttachment

File path: dist/twist/Core/Models/Email/Create.model.php
Namespace: Twist\Core\Models\Email
Extends:

addAttachmentAdd local (on server) files to be attached to the email ass attachments

Parameters

Name Type Description
$strLocalFilestringn/a

Return Values

void — No return information has been documented for this function.

Example

<?php
//Set the variables for the example
$strLocalFile 'foo';

//Call the function addAttachment with the example vars
$resCreate = new \Twist\Core\Models\Email\Create();
$resCreate -> addAttachment($strLocalFile);