TwistPHP Documentation

ProtocolNative

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

Type: Model

ProtocolNative

Example Usage

<?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);

Method List

Method Access Returns
setTimeoutpublicvoid
getLastMessagepublicvoid
connectpublicvoid
connectedpublicvoid
disconnectpublicvoid
loginpublicvoid
useFromParampublicvoid
frompublicvoid
topublicvoid
subjectpublicvoid
bodypublicvoid
sendpublicvoid