Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Warning: mail() [function.mail]: Failed to connect to mailserver at "l 1

Status
Not open for further replies.

sinyoro

IS-IT--Management
Dec 15, 2009
1
ZW
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

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top