在自动生成的电子邮件中包含来电者#

时间:2014-01-30 16:49:30

标签: php email forwarding

我正在使用php脚本向我发送一个mp3录音链接,当我打电话给我的Twilio号码时。如何在该电子邮件中包含一个也会提供来电者电话号码的字符串?

这是我正在使用的代码:     

$to = "EMAILONE"; // Your email address.
$subject = "Message from {$_REQUEST['From']}";
$message = "You have received a voice message from {$_REQUEST['From']}.";
$message .= "To listen to this message, please visit this URL: 
{$_REQUEST['RecordingUrl']}";
$headers = "From: EMAILTWO"; // Who should this email come from?
mail($to, $subject, $message, $headers);

?>

是否可以请求来电号码并将其放在电子邮件正文中?

谢谢!

0 个答案:

没有答案