A simple demonstration of using SMTP on phpmailer
This snippet is dependent on
<?php
$mail = new PHPMailer; $mail->isSMTP();// $mail->Host = $smtpHost;//smpt.domain.com $mail->Port = $smtpPort;//usually 25 $mail->SMTPKeepAlive = true; //set other values here! $mail->send();//multiple times!? $mail->SmtpClose(); ?>
Sign up to add your own comment here!
Comments
More comments: 1
|
|