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);
?>