【发布时间】:2012-04-18 12:57:11
【问题描述】:
我想将页面内容发送到电子邮件。 我写了
if($_GET['send_mail'] == 1){
$message = file_get_contents('send_daily_bespoke_call_status.php');
echo "sendmail" . $message;
mail('abc@gmail.com', 'Report for Bespoke Users', $message);
}
但是页面不会永远加载。 如何将页面内容发送到电子邮件。 我的页面内容有几个数组,所以我不能包含
【问题讨论】:
-
需要在php.ini中指定正确的smtp服务器