CATEGORY: PHP

QUESTION:
When I send email using PHP function "mail" I recieve it from an address looking like user@host14.hostingcheck.com

ANSWER:
When you use the mail function in PHP you have to setup the mail header to setup the reply address. If you don't setup the header then it sends from the host name (host14.hostingcheck.com) and from the user of apache (www).
$from = "Reply-To: \"Your Name - Your Name\"
From: \"Your Name - Your Name\" ";


Eddie
############################################################

Please be advised that this is a SUPPLEMENTAL Online Manual.

The PRIMARY Online Manual is inside your Online Control Panel... to access it, just click Documentation link at very bottom of Online Control Panel screen.

You should always consult the Online Manual inside your control panel first... and only consult this SUPPLEMENTAL Online Manual as a last resort.

if after consulting the Control Panel Documentation, you still need assistance, please CONTACT SUPPORT

top