TwistPHP Documentation

disconnect

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

disconnectDisconnect the current session (connection)

Return Values

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

Example

<?php
//Call the function disconnect with the example vars
$resProtocolSMTP = new \Twist\Core\Models\Email\ProtocolSMTP();
$resProtocolSMTP -> disconnect();