hello
i use since years xampp and now and then i have tried to setup the sendmail (i need to test some things with my local wordpress installation)
every time i tried several code i found on internet bu t i never can get to make it work
none at all iuse gmail account and set the configuration i have found on several site (windows xp and xampp 1.7)
here is
sendmail.ini:
logfile "C:\xampp\sendmail\sendmail.log"
account Gmail
tls on
tls_certcheck off
host smtp.gmail.com
from name.surname@gmail.com
auth on
user name.surname@gmail.com
password mypassword
port 587
account default : Gmail
php.ini ( i have modified and uncommented some lines):
[mail function]
; For Win32 only.
; http://php.net/smtp
SMTP = smtp.gmail.com
; http://php.net/smtp-port
smtp_port = 587
; For Win32 only.
; http://php.net/sendmail-from
sendmail_from = name.surname@gmail.com
; For Unix only. You may supply arguments as well (default: "sendmail -t -i").
; http://php.net/sendmail-path
sendmail_path = "\"C:\xampp\sendmail\sendmail.exe\" -t"
; Force the addition of the specified parameters to be passed as extra parameters
; to the sendmail binary. These parameters will always replace the value of
; the 5th parameter to mail(), even in safe mode.
;mail.force_extra_parameters =
; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename
mail.add_x_header = Off
; Log all mail() calls including the full path of the script, line #, to address and headers
;mail.log = "C:\xampp\php\logs\php_mail.log"
USED THE UPDATE OF SENDMAIL
FILL THE FILED OF THE NEW sendamil.ini file
php.ini ok like it was
it works!