標籤存檔: sendmail

用XAMPP的sendmail寄信(windows)

用XAMPP的sendmail寄信(windows)

要用XAMPP來寄信步驟非常的簡單!

1.修改 php.ini 檔

; XAMPP: Comment out this if you want to work with fakemail for forwarding to your mailbox (sendmail.exe in the sendmail folder)
sendmail_path = "\"E:\xampp\sendmail\sendmail.exe\" -t"

; Log all mail() calls including the full path of the script, line #, to address and headers
mail.log = "E:\xampp\apache\logs\php_mail.log"

閱讀更多