I get the error message:
Failed to connect to mailserver at "localhost" port 25, verify your
"SMTP" and "smtp_port" setting in php.ini or use ini_set()
I have modified the C:\Program Files\xampp\php\php.ini file so it
reads:
[mail function]
; For Win32 only.
SMTP = smtp.woosh.co.nz
smtp_port = 25
; For Win32 only.
sendmail_from = mtho****n...@gmail.com
However in phpinfo(); I am still getting
sendmail_from no value no value
sendmail_path no value no value
SMTP localhost
Can anyone please tell me the correct way to configure PHP/XAMPP so I
can send email with a local host setup.
Thanks.
While you would think you would edit
xampp\php\php.ini
in my case its was actually using (by default)
xampp\apache\bin\php.ini
so this is where you maybe want to change your settings.
IM using XAMPP 1.5.4a
HTH,
Paul.
Thanks.
__________ NOD32 2565 (20071002) Information __________
This message was checked by NOD32 antivirus system.
http://www.eset.com
have you restarted your web server?
The setup you have works for me with orcon
Jochen
Some ways to circumvent it:
use a class like phpmailer and try direct smtp
use a local mail server like hamster
HTH, Jochen