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

  • Home
  • SEARCH
  • 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 367147
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T13:42:01+00:00 2026-05-12T13:42:01+00:00

my mail have some tempalte with HTML tags includes and images.. when i am

  • 0

my mail have some tempalte with HTML tags includes and images..
when i am sending mail to my id and open that in Gmail it getting the correct template but in thunderbird am getting only html tags… not the correct format

code:

<?php
// multiple recipients
$to  = 'mail@site.com'; // note the comma


// subject
$subject = 'Birthday Reminders for August';

// message
$message = '  

<h1> hiii </h1>  <h3>h3</h3> <strong> strong </strong>
  <p>Here are the birthdays upcoming in August!</p>
  <table>
    <tr>
      <th>Person</th><th>Day</th><th>Month</th><th>Year</th>
    </tr>
    <tr>
      <td>Joe</td><td>3rd</td><td>August</td><td>1970</td>
    </tr>
    <tr>
      <td>Sally</td><td>17th</td><td>August</td><td>1973</td>
    </tr>

';

// To send HTML mail, the Content-type header must be set
$headers  = 'MIME-Version:1.0'. "\r\n";
$headers .= 'Content-type:text/html;charset=iso-8859-1' . "\r\n";

// Additional headers
$headers .= 'From:Birthday Reminder <birthday@example.com>' . "\r\n";

// Mail it
mail($to, $subject, $message, $headers);
?>

what i need to change for thunderbird?

   Content-type: text/html; charset=iso-8859-1

Return-Path: <midhun@server.com>




<html>
<head>
<title>Registration</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>

<body>
<p><strong>Dear xdcxz   fdzfsd <br />

<a href="www.site.com/id/2">Click here</a> to accept...

</p>
</body>
</html>

This is the way it is shown in Thunderbird.

but in gmail i got the correct html rendreing…

  • 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-12T13:42:01+00:00Added an answer on May 12, 2026 at 1:42 pm

    HI all, finally i got the answer … 🙂

    I replaced all the “\r\n” as “\n” …
    Now it is working fine 🙂
    So please keep in mind 🙂

    Thank you very much

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

Sidebar

Related Questions

I have an e-mail template which is just a plain, static HTML page. I
I have some word templates(dot/dotx) files that contain xml tags along with plain text.
I have a template that has some Javascript used to generate graphs in the
I have some code that sends emails using javax.mail.Transport class. The code calls the
I need help with e-mail templates. I have an html template with three embedded
I have a variety of Velocity template files that represent e-mail messages. I am
That's really the whole question. I have some mail interceptors but when I set
I have some code that creates a Mail object (Outlook), attaches a file and
I have about 100k Outlook mail items that have about 500-600 chars per Body.
I have some ASP code that I've inherited from my predecessor (no, it's not

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.