我試圖用xampplite 1.7.7發送電子郵件。xampp lite ver 1.7.7無法發送電子郵件
我改變了我的如下php.ini文件即:
[mail function]
; For Win32 only.
; http://php.net/smtp
;SMTP = localhost
; http://php.net/smtp-port
;smtp_port = 25
; For Win32 only.
; http://php.net/sendmail-from
;sendmail_from = [email protected]
; For Unix only. You may supply arguments as well (default: "sendmail -t -i").
; http://php.net/sendmail-path
sendmail_path = "\"\xampp portable\sendmail\sendmail.exe\" -t"
我還下載了最新版本的Sendmail而應用的,並提出以下chages它着,當然與我的電子郵件信息取代了它。
smtp_server=smtp.gmail.com
smtp_port=465
smtp_ssl=auto
[email protected]
auth_password=mypassword
[email protected]
hostname=smtp.gmail.com
我仍然無法發送電子郵件以上的變化,如果有人可以幫助,請讓我知道謝謝。
誰在'unix'上命名'sendmail.exe'? – Vytautas 2012-03-30 11:26:18
你能用這種方式發送它(其他)xammp嗎?通過Gmail帳戶? – Xfile 2012-03-30 11:37:14
我在Windows上使用xampp,而不是在Unix上,因此它有一個用於sendmail的.exe文件。 – Sahil 2012-03-30 14:07:54