Web Applications Stack Exchange is a question and answer site for power users of web applications. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How can I send a HTML message from Gmail?


<p style="background-color:green; padding: 30px;">Hello</p>
share|improve this question
up vote 5 down vote accepted

Usually you can write that into an HTML file, render it, and copy the email from the browser into Gmail's compose pane.

share|improve this answer
What about <body style="backcolor:red;"></body> ? – faressoft Dec 4 '10 at 17:13
@faressoft Use Thunderbird in that case. – digitxp Dec 4 '10 at 18:17
Do you mean insert > HTML ? Noting changed when i put <body style="backcolor:red;"></body> in it ! – faressoft Dec 4 '10 at 19:56
I doubt any email program would let you do that. It's better to make a <div> and style that. Thought it could also be that you meant bgcolor and not backcolor... – digitxp Dec 4 '10 at 20:43
+1 This works. To test simply open an email in Gmail itself. Preferably the one which is sent through some email client which has HTML enabled and has images in it. Select it's content. Copy. And paste it into the compose pane. Yes just make sure that you have Rich formatting selected in the compose options as shown by @Nigel – IsmailS May 24 '11 at 10:34

Google does not support this feature: (Source)

Please note that Gmail doesn't recognize HTML tags inserted in the body of a message

However, it might be possible with an external 3 party application such as Outlook or ThunderBird.

Outlook 2003 or earlier had option to send HTML via File > Send > Page by Email. However, Microsoft have removed this feature for security reasons in Outlook 2007 and 2010. Here is an article that explains Microsoft's actions. There is a 'grass-roots effort' to get this feature added back Outlook. For more information about his movement visit FixOutlook.org.

share|improve this answer
thank you. Iam using Outlook but I don't know how can I send a html code. How can I do that ? – faressoft Dec 4 '10 at 15:57
I don't use Outlook anymore so I am not completely sure. I did find this page with 4 methods to HTML emails. – SgtOJ Dec 4 '10 at 16:13
@SgtOJ, I think your source is outdated................. – Pacerier Sep 30 '13 at 5:34

I think you should use a client that lets you write HTML email and set it up to use your gmail account. I don't think you can do it from Gmail's web interface.

Sending HTML email with Outlook express and Thunderbird: http://webdesign.about.com/od/intermediatetutorials/a/aa050800b.htm

Not sure how to directly input HTML in an email using outlook.

share|improve this answer

Body is not an acceptable tag in gmail, and most email clients disregard backgrounds unless they're in divs.

There's a great resource on the subject of what email clients support and don't support called the Email Standards Project.

As for entering html in gmail, you're going to have to do the copy paste thing that digitxp said, but don't include the html, head or body tags, just the content tags.

share|improve this answer

Rich Test Formatting 1

Rich text formatting 2 In gmail web client, the easiest way to click on Rich formatting >> that would open up the formating tools and select whatever formating your want instead of composing it somewhere else and pasting it.

share|improve this answer
How do I do a heading? – richard Feb 7 '12 at 11:45

You can use ctrlq.org/html-mail/ to send HTML emails.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.