【发布时间】:2018-10-10 16:44:22
【问题描述】:
请看这段代码
<?php
$to = "someone@example.com";
$subject = "Test mail";
$message = "Hello! This is a simple email message.";
$from = "someonelse@example.com";
$headers = "From:" . $from;
mail($to,$subject,$message,$headers);
echo "Mail Sent.";
?>
这段代码有什么问题。它不适用于 Amazon Linux 服务器
谢谢
【问题讨论】:
-
你也有Amazon SES吗?
标签: php amazon-ec2