Results 1 to 2 of 2

Thread: [RESOLVED] Receive HTML in Outlook and Webmail

  1. #1
    Join Date
    May 2013

    resolved [RESOLVED] Receive HTML in Outlook and Webmail

    Hi Admim,

    Hope you are doing great.

    I am developer and My Client had a website name "Reliablerxpharmacy.Com" from which there is Contact us page through which user comes and make General enquires to the admin and email is "kane[at]reliablerxpharmacy.com" Now Lets I start the issue which our client faces is that when he view the email into the Outlook/Thunderbird/Webmail HTML Code is display but when changes the configure id to our office Id "rg[at]tcms-sep.com" then it will be in well HTML form. As we are contacing the RackSpace Hosting as website is present there and they says your header contains the blank line which we not understand So if you have better understanding please see as per I am pasting here the header code and HTML message which is gone.

    You can find the Contacts Us page at this URL:

    Down Here you can see the PHP Code:----------
    $msg ='<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <table bgcolor="#FFF9EF" width="100%" border="3" cellpadding="0" cellspacing="0" bordercolor="#8E8E90">
    <td colspan="2"><table bgcolor="#DBB37F" width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
    <td align="left"><table width="100%" border="0" cellspacing="0" cellpadding="0">
    <td><img src="http://www.reliablerxpharmacy.com/skin1/images/alldaychemist.jpg" alt="" /></td>
    <td style="width:100%; font-size:24px;color:#24585e; background-color: #DBB37F;"> '.ucfirst($querytypefield[0]['queryname']).'</td>
    <td colspan="2"><table width="100%" border="1" cellspacing="2" cellpadding="2">';
    foreach($querytypefield as $val){
    $msg .='<tr>
    <td width="40%" align="left" style="padding: 5px 15px; font-weight:bold; color:#000;">'.$val['queryfieldtitle'].'</span> :</td>
    <td width="60%">'.$fieldname1.'</td>
    $msg .='<tr>
    <td colspan="2" style="text-align:center; font-size:11px; color:#000;"><p> </p>
    <p> </p>
    <p>Copyright 2011 Reliablerxpharmacy. All rights reserved. <br />
    $headers = "From: $emailfrom\n";
    $headers .= "Reply-To: $emailfrom\n";
    $headers .= "Return-Path: $return\n";
    $headers .= "X-Mailer: php/" . phpversion();
    $headers .= "MIME-Version: 1.0\n";
    $headers .= "Content-Type: text/html; charset=iso-8859-1\n";
    $headers .= "Content-transfer-encoding: base64\n";
    $body = chunk_split( base64_encode( $msg ) );
    $conmail=mail($emailto, $subject, $body, $headers);
    $smarty->assign("conmsg1", "Your message has been successfully sent to our team");
    $smarty->assign("name", '');
    $smarty->assign("email", '');
    $smarty->assign("order", '');
    $smarty->assign("query", '');
    $smarty->assign("errors", "Error while sending mail.");
    $smarty->assign("name", $name);
    $smarty->assign("email", $email);
    $smarty->assign("order", $order);
    $smarty->assign("query", $query);

    Please look into the same and let me know what possible solution or suggestion you can tell us.
    Waiting for your urgent reply asap.

    Rajat Kumar

  2. #2
    Join Date
    Mar 2009
    most likely PHP is not being parsed. share your original help.php file it will be easy to inspect for us

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center