I have written a small script to send mail through Apache Web Server using sendmail. However, here is the email header of my message:
How can I write the PHP command so that the return path is the same as the email address of my "FROM" field rather than "apache@myname.com"? I don't want my hosting company to receive those return mail.
Thanks!
Return-Path: <apache@myname.com>
Received: from ns.myname.com (root@localhost)
by myname.com (8.11.6/8.11.6) with ESMTP id 18FGA1115234
for <email@email.com>; Sun, 15 Sep 2002 12:10:56 -0400
X-ClientAddr: 1.2.3.4
How can I write the PHP command so that the return path is the same as the email address of my "FROM" field rather than "apache@myname.com"? I don't want my hosting company to receive those return mail.
Thanks!