TwistPHP Documentation

login

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

login

Parameters

Name Type Description
$strEmailAddressstringn/a
$strPasswordstringn/a

Return Values

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

Example

<?php
//Set the variables for the example
$strEmailAddress 'foo';
$strPassword 'foo';

//Call the function login with the example vars
$resProtocolSMTP = new \Twist\Core\Models\Email\ProtocolSMTP();
$resProtocolSMTP -> login($strEmailAddress$strPassword);