TwistPHP Documentation

useSMTP

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

useSMTP

Parameters

Name Type Description
$strHoststringn/a
$intPortintegern/a
$strUsernamestringn/a
$strPasswordstringn/a

Return Values

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

Example

<?php
//Set the variables for the example
$strHost 'foo';
$intPort 124;
$strUsername 'foo';
$strPassword 'foo';

//Call the function useSMTP with the example vars
$resCreate = new \Twist\Core\Models\Email\Create();
$resCreate -> useSMTP($strHost$intPort$strUsername$strPassword);