You can't use the Sendmail stuff in PHP in Windows,
Wiedmann wrote:Just configure the "sendmail.ini" in "\xampp\sendmail". Deaktivate the SMTP settings in the "php.ini" ("\xampp\apache\bin") and activate / configure the "sendmail_path" to the "sendmail.exe" ("\xampp\sendmail").
That's all. Now you can send emails from your PHP-scripts throught your ISP SMTP-server.
[sendmail]
smtp_server=mail.spymac.com
;default_domain=
;error_logfile=error.log
;debug_logfile=debug.log
auth_username=sdfsdf (my username)
auth_password=******
force_sender=testpage@spymac.com
[mail function]
; For Win32 only.
SMTP = mail.spymac.com
; For Win32 only.
sendmail_from = postmaster@localhost
; For Unix only. You may supply arguments as well (default: "sendmail -t -i").
;sendmail_path = c:\apachefriends\xampp\sendmail\sendmail.exe
[mail function]
; For Win32 only.
SMTP = mail.spymac.com
; For Win32 only.
sendmail_from = postmaster@localhost
; For Unix only. You may supply arguments as well (default: "sendmail -t -i").
;sendmail_path = c:\apachefriends\xampp\sendmail\sendmail.exe
[mail function]
; For Win32 only.
; SMTP = mail.spymac.com
; For Win32 only.
; sendmail_from = postmaster@localhost
; For Unix only. You may supply arguments as well (default: "sendmail -t -i").
sendmail_path = "c:\apachefriends\xampp\sendmail\sendmail.exe -t"
error_logfile=error.log
debug_logfile=debug.log
Users browsing this forum: No registered users and 181 guests