Loading
Canvas not supported.
isSMTP(); // Set mailer to use SMTP $mail->Host = 'smtp.gmail.com'; // Specify main and backup server $mail->SMTPAuth = true; // Enable SMTP authentication $mail->Username = 'sales@posnow.com.au'; // SMTP username $mail->Password = 'posnowatchison123'; // SMTP password $mail->SMTPSecure = 'tls'; // Enable encryption, 'ssl' also accepted $mail->From = 'sales@posnow.com.au'; $mail->FromName = 'ViViPOS Sales'; $mail->addAddress('sales@vivipos.com.au', 'ViViPOS Sales'); // Add a recipient $mail->WordWrap = 50; $mail->Subject = 'ViViPOS Remote Demo Alert'; $mail->Body = 'Someone has connected to ViViPOS remote demo.
Client IP Address: ' . get_client_ip() . '
Time: ' . date("Y-m-d H:i:s"); $mail->AltBody = 'Someone has connected to ViViPOS remote demo./n IP Address: ' . get_client_ip() . '/nTime: ' . date("Y-m-d H:i:s"); if(!$mail->send()) { echo 'Message could not be sent.'; echo 'Mailer Error: ' . $mail->ErrorInfo; exit; } } ?>