• Howdy! Welcome to our community of more than 130.000 members devoted to web hosting. This is a great place to get special offers from web hosts and post your own requests or ads. To start posting sign up here. Cheers! /Peo, FreeWebSpace.net
managed wordpress hosting

Smtp and mail() function in php

> Anyone know how to use the mail() function but tell it to use an
> smtp server in php?

You can't "tell" php (from within your scripts) to use an SMTP server with the mail() function; You have to change the correct settings in your php.ini, and configure the SMTP server to allow relays from localhost.
 
Back
Top