Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7494827
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T17:47:35+00:00 2026-05-29T17:47:35+00:00

Im sending out an order conformation for recipients via the simple mail function built

  • 0

Im sending out an order conformation for recipients via the simple mail function built into PHP, and this works fine. It’s a “nice” email set up in tables and a few styles with the details in it

However a few of the recipients just see html tags, and of course can’t understand anything..

If i get one, it shows perfectly in thunderbird, hotmail, gmail..

The html is perfect, not missing any end tags, and i send some headers also as i have read i should. this is my mail send function:

$body = "some html tags, set up in a table" ;
$sendto = "The recipients email here" ;
$subject = "subject here" ;
$headers  = 'MIME-Version: 1.0' . "\r\n";
$headers .= 'Content-type: text/html; charset=iso-8859-1'."\r\n";
$headers .= "To: theemailhere <theemailhere>\r\n";
$headers .= 'From: <thefromemailhere>' . "\r\n";
mail($sendto, $subject, $body, $headers);

Is this an error from my side, or has the recipient chosen not to receive html emails? I mean is this still possible in 2012 and do people disable this??

And if so, what could be a good workaround to do this. I mean i would like to avoid using plain text.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-29T17:47:44+00:00Added an answer on May 29, 2026 at 5:47 pm

    Yes. There are really email clients which do not allow HTML emails. I guess older Outlooks are one of these, too, but not sure.

    So, anyway, it is not your fault, it is the user’s. See Source 1 and Source 2.

    And you can never be sure what does the user’s mail program accept. Only plaintext is surely accepted. Quoting Source 2:

    “The best you can do is anticipate how each of the major clients will
    break your design, and then try to control how it breaks, so that it’s
    still readable by most of your recipients.”

    It can be solved only with multipart messages, but then some people will get plaintext. See Source 3 for some details on the issue and Source 4 for solutions.

    Some documents on this: Source 1, Source 2, Source 3, Source 4

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm sending a mail function to myself. My first line reads 'Order for $name
We are sending out Word documents via email (automated system, not by hand). The
I'm having trouble sending out a simple HTTP request using Actionscript 3's Socket() object.
Our company is sending out a lot of emails per day and planning to
I am sending out an email, and the message ($message) is in HTML I
i am sending out email to a list of people. I have the list
Will be sending out e-mails from an application on a scheduled basis. I have
I am using a script that is sending out emails and I am receiving
I’m developing a website of a client and they are sending out newsletters to
My Aim: Sending an email (e.g. support request, error report) out of a C#

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.