TwistPHP Documentation

setPriority

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

setPrioritySet the priority flag, most email clients will display a little icon next to priority emails.
Level 1 = High
Level 2 = Low
Level 3 = Normal

Parameters

Name Type Description
[$intPriority = 3]integern/a

Return Values

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

Example

<?php
//Set the variables for the example
$intPriority 3;

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