Hi,
I wonder if you have come across this problem before...

I use 2 different hosting companies for a number of sites. One is Godaddy in the US, the other is Unlimited in the UK.

I’d had some problems sending html emails from a contact form on one of my sites (hosted by Unlimited) so I did some troubleshooting.

I put up a simple php script that sends a very simple html email to 2 different email addresses.
The 2 email addresses are all accounts on Outlook on the same pc.
1 of the emails is hosted by Unlimited, 1 is hosted by Godaddy.
When the emails arrive in Outlook the Godaddy email is displayed as html and looks ok. The Unlimited email is plain text with the html tags showing and the
information regarding the sender of the email has been removed.

If I look at the ‘faulty’ email on the server via webmail it looks ok ie is in html and the sender address is shown.
If I look at the ‘faulty’ email on my blackberry it looks ok as well.

If I move the php script to a Godaddy server the mails are all received ok ie all are html and all have the correct sender info.

If I change the addresses in the script to gmail and hotmail addresses they work ok as well.

If I change the script to send plain text mails there is no problem.

So I can’t see that the script is wrong and I can’t see that there is an issue with the PC (eg virus scan on the mails or something) or with the Outlook settings.
And since the mail looks ok via webmail and on blackberry the only thing that’s left is when Outlook gets the mail from the Unlimited server. However this doesn’t make
sense either since Outlook gets a mail sent from the Godaddy script from the Unlimited server correctly.

Any ideas or suggestions?

Thanks,
John.

    sounds like it's an SMTP issue w/ the server(s) over at Unlimited.

    Can you post the email headers. One sent from GoDaddy and one from Unlimited. I suspect that is where you'll see the issue.

      The headers for the mail that fails (Unlimited)...

      X-Antivirus: AVG for E-mail
      DomainKey-Status: no signature
      Received: (qmail 28219 invoked by uid 10937); 7 Jun 2011 15:30:39 +0100
      Date: 7 Jun 2011 15:30:39 +0100
      Message-ID: <20110607143039.28217.qmail@cloud04.unlimitedwebhosting.co.uk>
      X-Additional-Header: /var/www/vhosts/example.com/httpdocs/mail
      To: john@1.example.com, john.hayes@2.example.com
      Subject: HTML email
      MIME-Version: 1.0

      The headers for the mail that works (GoDaddy)...

      Received: (qmail 25464 invoked from network); 7 Jun 2011 14:30:43 -0000
      Received: from unknown (HELO m1pismtp01-021.prod.mesa1.secureserver.net) ([216.69.186.24])
      (envelope-sender <anonymous@cloud04.unlimitedwebhosting.co.uk>)
      by p3plsmtp16-02.prod.phx3.secureserver.net (qmail-1.03) with SMTP
      for <john.hayes@2.example.com>; 7 Jun 2011 14:30:43 -0000
      X-IronPort-Anti-Spam-Result: AkIFAFE17k2y+jZhdWdsb2JhbABTl3IBjThxFAEMCgwHFCWIasF0hiEEoFA
      Received: from mail-gw.unlimitedwebhosting.co.uk ([178.250.54.97])
      by m1pismtp01-021.prod.mesa1.secureserver.net with ESMTP; 07 Jun 2011 07:30:43 -0700
      Received: from cloud04.unlimitedwebhosting.co.uk (cloud04.unlimitedwebhosting.co.uk [178.250.54.170])
      by mail-gw.unlimitedwebhosting.co.uk (8.13.8/8.13.8) with ESMTP id p57EUbfx003744
      for <john.hayes@2.example.com>; Tue, 7 Jun 2011 15:30:37 +0100
      Received: (qmail 28219 invoked by uid 10937); 7 Jun 2011 15:30:39 +0100
      Date: 7 Jun 2011 15:30:39 +0100
      Message-ID: <20110607143039.28217.qmail@cloud04.unlimitedwebhosting.co.uk>
      X-Additional-Header: /var/www/vhosts/example.com/httpdocs/mail
      To: john@1.example.com, john.hayes@2.example.com
      Subject: HTML email
      MIME-Version: 1.0
      Content-type: text/html; charset=iso-8859-1
      From: <john.hayes@3.example.com>
      X-Nonspam: None
      X-Antivirus: AVG for E-mail 10.0.1382 [1511/3685]
      X-AVG-ID: ID68482A9A-5B536431

        It's looks like they're stripping out your content-type. Have you contacted them? Could be some anti-spam policy they have in place.

          Write a Reply...