Hi,
i'm trying to send an email via a php script and i've tried setting the parameters in the php.in with no success.. i want to use a mail server (which is not running on my webserver) and the server has got a password. Is there a way i can set everything including the password using the init_set() if so how as im getting this error message:
Warning: mail() [function.mail]: Failed to connect to mailserver at "localhost" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set().
Thanks
i'm trying to send an email via a php script and i've tried setting the parameters in the php.in with no success.. i want to use a mail server (which is not running on my webserver) and the server has got a password. Is there a way i can set everything including the password using the init_set() if so how as im getting this error message:
Warning: mail() [function.mail]: Failed to connect to mailserver at "localhost" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set().
Thanks