1
<?php
$to = "adi.mathur2@facebook.com, ";
$subject = " Hi ";
$message = "  this time..  ";
$from = "aditya169@facebook.com";
$headers = "From: $from\r\n";
$headers .= "Return-Path: aditya169@facebook.com\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.

4

1 回答 1

2

发送到{user}@facebook.com的不是来自朋友的消息被放入Messages/Other子文件夹中,我认为它们甚至不会在 Facebook 顶部栏中生成通知——因此用户很可能只会“通过事故”。

此外,Facebook 文档中的某处表示,这些电子邮件地址仅用于用户间通信,应用程序不应将其用作与用户交流的方式。应用程序请求是执行后者的指定方式。

于 2012-08-27T08:22:52.587 回答