PHPMailer\PHPMailer\PHPMailer::getSMTPInstance
Get an instance to use for SMTP operations.
Override this function to load your own SMTP implementation, or set one with setSMTPInstance.
Signature
public function getSMTPInstance()
Returns
- SMTP