Group: Member 
Post Group: Newbie
Posts: 1
Status: 
|
Hi all,
I'm using AMPPs on Windows, and am having trouble sending emails.
I've changed the settings in php.ini, but it doesn't seem to be taking effect. Here are my current settings;
;SMTP = localhost
SMTP = securesgp27.sgcpanel.com
;SMTP_Port = 465
SMTP_Username = xxx@urbanlegend.co.nz
SMTP_Password = xxxxxxx
;sendmail_from = xxx@urbanlegend.co.nz
smtp_port = 465
; For Win32 only.
; http
sendmail_from = xxx@urbanlegend.co.nz
I'm getting this error when I try to run a mail() command in PHP;
Warning: mail(): Failed to connect to mailserver at
"localhost" port 25, verify your
"SMTP" and "smtp_port" setting in
php.ini or use ini_set() in ...
I've been at this for hours, so any help offerred is much appreciated.
Thanks in advance
|