Reputation: 4187
<?php
$to = "[email protected], ";
$subject = " Hi ";
$message = " this time.. ";
$from = "[email protected]";
$headers = "From: $from\r\n";
$headers .= "Return-Path: [email protected]\r\n";
$headers .= "Content-Type: text/plain\r\n";
mail($to,$subject,$message,$headers,"-f$from");
echo " successful!!";
?>
I am trying to send this email but it doesn't send to the Facebook Email. When I change the to field to my Gmail ID then I can receive the Email.
Is it that the email is marked as Spam? or something? I cant even see the email in the Other folder on Facebook.
Upvotes: 1
Views: 2685
Reputation: 96151
Messages send to {user}@facebook.com that are not coming from friends are put into the Messages/Other
subfolder, and I think they don’t even generate a notification in the Facebook top bar – so the user will most likely only recognize them “by accident”.
Also, somewhere in the docs Facebook say these email addresses are intended solely for user-to-user communication, and that apps should not use this as a way to communicate with their users. App requests are the designated way to do the latter.
Upvotes: 2