Hi,
I have the following PHP code...
`<?php
$msg .= "Message - Hello<br>";
// To send HTML mail, the Content-type header must be set
$headers[] = 'MIME-Version: 1.0';
$headers[] = 'Content-type: text/html; charset=iso-8859-1';
// Additional headers
$headers[] = 'To: Name zoom@domain.com';
$headers[] = 'From: NAME demo@domain.com';
$headers[] = 'Reply-to: Dan dan@hello.com';
// Mail it
mail("dan@xyz.com", "Website Contact", $msg, implode("\r\n", $headers));`
However, the email is not sent. The email server sits elsewhere on another server... how do I get aaPanel to delivery mail using PHP mail() to the external server... at the moment, the emails just disappear... never to be seen again.
Thanks