Hello, I wonder if someone can help me.
Facebook allows you to update your status by sending an email to a secret email address. The subject of your email will appear as a status update on your facebook page.
For several years I have been using the following code to update my facebook status, basically sending an email to my secret facebook email address.
[php]$to = ‘[email protected]’;
$subject = ‘This will appear as a status update on my facebook page’;
$message = ‘This does not get used and will not appear on my facebook page’;
$headers = “From: my_email@my_domain\r\n”.“X-Mailer: PHP/” . phpversion();
$params = “-f”.“my_email@my_domain”;
$mail_sent = mail($to, $subject, $message, $headers, $params);
[/php]
All has been well and I have not had a problem.
However, about 10 days ago the updates have stopped appearing on my facebook page.
I am getting those emailed returned. The returned email reads as follows.
This is the Postfix program at host smtp-out-59.livemail.co.uk.I’m sorry to have to inform you that the message returned
below could not be delivered to one or more destinations.For further assistance, please send mail to
If you do so, please include this problem report. You can
delete your own text from the message returned below.The Postfix program
[email protected]: host smtpin.mx.facebook.com[69.171.244.11]
said: 550 5.1.1 RCP-P1
http://postmaster.facebook.com/response_codes?ip=213.171.216.216#rcp
Recipient address does not exist (in reply to RCPT TO command)
I notice that the address it mentions is [email protected] yet I have clearly sent my email to [email protected]
I have done a couple of other things to check things out
[ol][li]1) I have sent an email to [email protected] via outlook and that updates my facebook status
2) I have amend the code above to send to another address and it reaches the recipient with no problem.
[/li]
[li][/li][/ol]
So the problem arrises when I use the combination of the above code and having the recepiant as my secret facebook email address.
Has anyone any ideas, or better still has anyone got a solution?
I am a beginner in all things PHP and interfacing with hotmail. Which is why I used the secret email route to automatically update my facebook status.
Regards,