the code i used is
$headers = "MIME-Version: 1.0\r\n";
$headers .= "Content-type: text/html; charset=iso-8859-1\r\n";
$headers .= "Reply-To: nipun <constant@constantimpact.com>\r\n";
$headers .= "Return-Path: nipun <constant@constantimpact.com>\r\n";
$headers .= "From: nipun <constant@constantimpact.com>\r\n";
$headers .= "Return-Receipt-To: <nipun45@gmail.com>\r\n";
$headers .= "X-Priority: 1\r\n";
$headers .= "X-MSMail-Priority: High\r\n";
$headers .= "Disposition-Notification-To: <nipun45@gmail.com>\r\n";
$headers .= "X-Mailer: PHP(".$_SERVER['REMOTE_ADDR'].")\r\n";
if (imap_mail ("shouldbounce@bouncesddafsdf.com","subject ","message",$headers))
echo" OK";
I also used the next code
imap_mail ( "bounce@sfsdjdkse.com", "subject", "message",$headers,"-fnipun45@gmail.com");
But its not working either. it is just like adding a cc:
Please anybody if u know the better solution.



