I installed postcastserver for my own local SMTP server... added the SMTP = localhost line in php.ini ... and restarted Apache! But i still get the error message with the mail() function. (Failed to Connect...)
Can anyone help me with this?
Did you amend php.ini to reflect the host name of the machine running postcast?
I've had the same setup as you running for over a year - not sure what/if problems I had at the time.
BTW: I meant did you change the line in php.ini to the actual name of your Postcast box instead of localhost?
I did enter the IP in the line instead of localhost... didn't work though! Should I add the port ( :25 ) after the ip?
These are the only lines I have changed in my php.ini relating to mail: -
SMTP = rgoweb sendmail_from = sales@mycompany.net
rgoweb is the local name for the machine running php and Postcast. Are they seperate machines in your site?