I want the following: "please@dont.reply" to show up.

the mail() function

Moderators: macek, egami, gesf

Post Reply
User avatar
egami
php-forum GURU
php-forum GURU
Posts: 2196
Joined: Wed Oct 06, 2010 11:19 am
Location: Happy Valley, UT

Re: I want the following: "please@dont.reply" to show up.

Post by egami » Tue Aug 09, 2011 5:00 am

This is done in the HEADERS section of the mail function.

$headers = 'FROM: Do Not Reply[noreply@mydomain.com]'."\r\n";

for more info, php.net/mail

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest