File path: dist/twist/Core/Models/Email/ProtocolSMTP.model.php
Namespace: Twist\Core\Models\Email
connect
— Open a new FTP connection
Name | Description |
---|---|
$strHost | n/a |
[$intPort = 25] | n/a |
void — No return information has been documented for this function.
<?php
//Set the variables for the example
$strHost = 'foo';
$intPort = 25;
//Call the function connect with the example vars
$resProtocolSMTP = new \Twist\Core\Models\Email\ProtocolSMTP();
$resProtocolSMTP -> connect($strHost, $intPort);