![Picture of vijay anand Picture of vijay anand](/graphics/unknown.gif)
vijay anand - 2011-11-11 02:32:20
Helo Mr.Manuel.,
I m back with a query..
when i send email using "email_message_class" everything works fine.,
but when i receive the email., i got this line in the headers which points out to the php page from which the script is called.,
Eg.,
[headers]
Date: Fri, 11 Nov 2011 10:17:02 +0800
To: Vijay anand <vj@myemail.com>
Subject: Your ticket is confirmed
X-PHP-Script: www.mywebsite.com/sendmail.php for XXX.XXX.XXX.XXX[ip address]
From: Ticket Master <booking@myemail.com>
Reply-To: Ticket Master <booking@myemail.com>
MIME-Version: 1.0
Content-Type: multipart/related;
[/headers]
How to remove this from header.,
i tried by inserting the below
[code]
$email_message->SetHeader("X-PHP-Script","http://www.mywebsite.com/nothing.php");
[/code]
which results in the following header..
[headers]
Date: Fri, 11 Nov 2011 10:17:02 +0800
To: Vijay anand <vj@myemail.com>
Subject: Your ticket is confirmed
X-PHP-Script: www.mywebsite.com/sendmail.php for XXX.XXX.XXX.XXX[ip address]
From: Ticket Master <booking@myemail.com>
Reply-To: Ticket Master <booking@myemail.com>
X-PHP-Script: http://www.mywebsite.com/nothing.php
MIME-Version: 1.0
Content-Type: multipart/related;
[/headers]
kindly advice me how to change this..
Thanks..
VJ.