我想将页面内容发送至电子邮箱。 我写了发送页面内容至邮箱
if($_GET['send_mail'] == 1){
$message = file_get_contents('send_daily_bespoke_call_status.php');
echo "sendmail" . $message;
mail('[email protected]', 'Report for Bespoke Users', $message);
}
但是页面并没有永久加载。 如何将页面内容发送至电子邮件。 我的页面内容有几个阵列,所以我不能包括< <等
你需要在php.ini中指定正确的smtp服务器 – 2012-04-18 14:42:44