I'm using azure to hose my site, and my contact form wont sent emails to me via php alone. So I thought I might have to use SMPT too. Is this correct?
I have this so far:
if (@mail($to, $email_subject, $email_body, $headers) == FALSE) {
return false;
}
else {
return true;
}
$mail->Mailer = "smtp"
$mail->CharSet = 'UTF-8';
$mail->Host = "########"; // SMTP server example
$mail->SMTPDebug = 0; // enables SMTP debug information (for testing)
$mail->SMTPAuth = true; // enable SMTP authentication
$mail->Port = 123; // set the SMTP port for the GMAIL server
$mail->Username = "###########"; // SMTP account username example
$mail->Password = "###########"; // SMTP account password example