I am currently trying to get a php mail function to work locally. I keep getting error "Failed to connect to mailserver at "localhost" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set()" I am using oscommerce and have ArgoSoft mail server installed locally. I am not sure how to adjust my smtp_port settings in php.ini. So far I have added this to php.ini but it has not worked.
[mail function]
; For Win32 only.
SMTP = localhost
sendmail_from = webmaster@localhost
smtp_port = 25
Also, Im not sure how to use ini_set in my php code. I am using oscommerce so all the code is already there.
Thanks.
[mail function]
; For Win32 only.
SMTP = localhost
sendmail_from = webmaster@localhost
smtp_port = 25
Also, Im not sure how to use ini_set in my php code. I am using oscommerce so all the code is already there.
Thanks.
