我使用WAMP的服務器,並試圖用PHP函數mail('[email protected]','my subject','my body');
,
以下設置在php.ini
發送電子郵件中繼不允許消息:與PHP函數發送郵件時
SMTP = 'ISP's SMTP server'
smtp_port = 25
但我得到的消息:
Warning: mail() [function.mail]: SMTP server response: 550 5.7.1 Relaying not allowed. Please use SMTP Authentication.
這怎麼解決?
夥計,苛刻-1! – Emyr 2011-05-23 11:20:51