2011-06-26 11 views
0

我有配置Gmail作爲本地SMTP郵件客戶端。我使用主機作爲smtp.gmail.com,我的gmail地址作爲用戶名和密碼,而587作爲端口。但我沒有看到任何電子郵件發送。我也取消了在php.ini中的以下幾行註釋配置Gmail作爲本地郵件客戶端

[mail function] For Win32 only. 
http://php.net/smtp SMTP = localhost 
http://php.net/smtp-port smtp_port = 
587 

; For Win32 only. 
http://php.net/sendmail-from 
sendmail_from = [email protected] 

我在想什麼?我正在使用Windows7 x64。我注意到php.ini只對windows 32說?有沒有另一種設置爲Windows x64?

謝謝。

回答