PHP mail is not working using Apache
Posted 12 October 2006 - 03:10 PM
PHP mail is giving error like the following:
Failed to connect to mailserver at "localhost" port 25, verify your "SMTP" and "smtp_port" setting in php.ini
plz let me know what is the problem and solution for it.
Posted 12 October 2006 - 04:10 PM
You need to open up the php.ini and find the the following lines:
; For Win32 only. SMTP = localhost smtp_port = 25Change localhost to your ISPs SMTP mail servers addresss, eg: smtp.hostname.com
the smtp_port is fine.
Posted 13 October 2006 - 05:28 AM
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users