0
我已经安装了pear并在发送邮件时出现以下错误:致命错误:在C:\ wamp \ www \ GamesRus \ mail中允许内存大小为134217728个字节(尝试分配6144个字节) .PHP第2行使用pear发送邮件
我在Windows 7上运行这里是我的代码:
$mail = Mail::factory("mail");
$headers = array("From"=>"[email protected]", "Subject"=>"Test Mail");
$body = "This is a test!";
$mail->send("[email protected]", $headers, $body);
?>