TwistPHP Documentation

send

File path: dist/twist/Core/Helpers/Email.helper.php
Namespace: Twist\Core\Helpers
Extends: Base

sendQuick send, use this option to send an email with the basic 4 parameters to, subject, body, form. By default a HTML body is expected

Parameters

Name Type Description
$strToAddressstringn/a
$strSubjectstringn/a
$strBodystringn/a
$strFromAddressstringn/a
[$blBodyIsHTML = true]booleann/a

Return Values

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

Example

<?php
//Set the variables for the example
$strToAddress 'foo';
$strSubject 'foo';
$strBody 'foo';
$strFromAddress 'foo';
$blBodyIsHTML true;

//Call the function send with the example vars
Twist::Email() -> send($strToAddress$strSubject$strBody$strFromAddress$blBodyIsHTML);