為什么我發送錯誤
為什么我沒有發送成功哈? php.ini中 mail.add_x_header = On sendmail_path="D:\phpStudy\sendmail\sendmail.exe -t" sendmail_from = [email protected] 代碼如下: <?php // 郵件發送錯誤信息 error_reporting(-1); ini_set('display_errors',0); ini_set('log_errors',1); error_log('當前系統被攻擊產生致命錯誤',1,'[email protected]');
2015-12-14