Altering the return path of email in php

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
khoonchee
Forum Newbie
Posts: 3
Joined: Tue Jun 18, 2002 12:09 am

Altering the return path of email in php

Post by khoonchee »

Hi guys,

I would like to ask how can alter the return path of the email in php to my email rather than to the server email address :

@mail($rows[email],"[REGISTO] $email_subject - $rows[username]",$msg,"From: $admin_email\nReply-To: $admin_email");

Thanks.

Andy
Post Reply