TwistPHP Documentation

connect

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

connect

Parameters

Name Type Description
$strHoststringn/a
[$intPort = 25]integern/a

Return Values

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

Example

<?php
//Set the variables for the example
$strHost 'foo';
$intPort 25;

//Call the function connect with the example vars
$resProtocolNative = new \Twist\Core\Models\Email\ProtocolNative();
$resProtocolNative -> connect($strHost$intPort);