The email came as below.
Code: Select all
Content-Transfer-Encoding: base64
Message-Id: <[email protected]>
Date: Wed, 20 Mar 2012 20:05:14 +0530 (GMT)
LS0tLS1CRUdJTiBQR1AgTUVTU0FHRS0tLS0tClZlcnNpb246IEdudVBHIHYxLjQuNSAoR05VL0xp
bnV4KQoKaFFJT0F6SzVKcHZnNWJLR0VBZi9RaUkza3llcW9KL0NCU3l3SjVCZ0Z6UzJZOHByUGxD
WlFpTis0eHN2VVM2MwpXbTVjQzM2MUNCamFXMWIxc2kvR1NYMTlCTSsxdHNqenZVcGxaNXlDNFdM
....
....
After several attempts, I found the reason for this.
On the php code, I was having,
Code: Select all
$headers = 'From: [email protected]' . "\r\n";
$headers .= 'Content-Transfer-Encoding: base64' . "\r\n";
Code: Select all
$headers = "From: [email protected]\n";
$headers .= "Content-Transfer-Encoding: base64\n";