The script that i use is OSTicket which is available from the Software Installer in Cpanel.
I set the script to login to pop3 to download emails and delete them from the mailbox
It is also set up to send emails to people via smtp which works fine for all emails excluding facebook.com emails. Where the Stevie Postmaster Fails to Deliver.
The smtp script included in this installation is based on the following:
<?php
require_once "Mail.php";
$from = "Sandra Sender <sender@example.com>";
$to = "Ramona Recipient <recipient@example.com>";
$subject = "Hi!";
$body = "Hi,\n\nHow are you?";
$host = "mail.example.com";
$username = "smtp_username";
$password = "smtp_password";
$headers = array ('From' => $from,
'To' => $to,
'Subject' => $subject);
$smtp = Mail::factory('smtp',
array ('host' => $host,
'auth' => true,
'username' => $username,
'password' => $password));
$mail = $smtp->send($to, $headers, $body);
if (PEAR::isError($mail)) {
echo("<p>" . $mail->getMessage() . "</p>");
} else {
echo("<p>Message successfully sent!</p>");
}
?>
I have adjusted the script above to replicate the error and act from my mailbox on stevie to my facebook.com email address which is nathanlees@facebook.com to troubleshoot this problem however the same results occur.