phpmailer in a function code example
Example 1: PHPMailer
$mail->SMTPOptions = array(
'ssl' => array(
'verify_peer' => false,
'verify_peer_name' => false,
'allow_self_signed' => true
)
);
Example 2: phpmailer
$query = $this->con->prepare('SELECT *);