Skip to page content or skip to Accesskey List.
Search evolt.org
evolt.org login: or register

Work

Main Page Content

An Introduction to HTML Email

Rated 3.9 (Ratings: 10) (Add your rating)

Log in to add a comment
(14 comments so far)

Want more?

 
Picture of FDG_Tom

Tom Granger

Member info | Full bio

User since: June 22, 2001

Last login: June 22, 2001

Articles written: 2

Pop-quiz hotshot!

You've got to send an HTML email to a list of clients and have it display correctly across a spectrum of email clients which include Outlook, web-based, frame-based. It has to be Netscape compatible, Eudora-friendly, Lotus Notes accessible...

What do you do?*

[Author's note: If you could say "What do you do?" a second time in your head in your best "Dennis Hopper Voice"™, it would really help us out.]

So, you want to send HTML email to your clients, prospects or newsletter subscribers? Marketing has descended from upon high and declared it, the small business client wants it, an executive in management has read about it.

Well, why not? The click-through rates are noticeably higher on HTML email. Analysis shows that customers are less likely to unsubscribe from HTML email than their text counterparts. In my last TemplateKit email newsletter, I had 11 unsubscribes, 10 of which were text recipients. Customers simply respond with more click-throughs, more sales, more inquiries for information, if your message is in a form that the recipient can easily view and display correctly.

The fact of the matter is that email HTML browsers are just not equal to their web browser equivalents. This is further complicated by the wide variety of settings, preferences, security updates, versions, and third-party applications which make the user experience hard to predict.

Recently I've seen:

  • Clients try to send <Forms> via email which terminated in a web-based email reader.
  • Style sheets which conflict with web-based email systems (sense a pattern here?)
  • Redirects which get processed twice and break.
  • A Flash or Shockwave piece that begins streaming in an Outlook preview window and then starts a second time when the email is opened.
  • Entire JavaScripts blown apart when a viewer's security settings or a web-based email client forbids it.

And these are just a few of my favorite occurrences.

We can start with Microsoft Outlook and Outlook Express to see how each will render HTML.

Outlook decides whether to use the full version of IE (depending on the version you may have) or use a "lite" version, depending on your current configuration.

Two links which can help you understand these differences are:

Outlook E-mail Security Update Information

How Outlook Renders HTML

When entering your content, be aware of potential problems

There are a number of different ways for you to send HTML code to your viewers.

  1. As an attachment.
  2. As an embedded document.
  3. As Raw HTML (consult your individual email program)
  4. Through a third-party application

When you enter HTML into your application, be aware whenever you do the following:

  • Cutting and pasting from WebPages.
  • Cutting and pasting from a MS Office product.
  • Using a previously mailed document as the basis for your code.

Cutting and Pasting from a Web page

There are several ways to get HTML code from an existing document without using an HTML editor.

You can "view source" and copy the code to the clipboard; create a copy with the "save as" command; or you can try to select the code from the body of the document and paste it into another program.

Notice how links inside that document are set up. If your document contains a number of relative links, (i.e. /images/yourimage.gif), then you might not be able to find your images when it is time to preview and test.

You may want to include a <BASE> tag in your HTML email so your recipient's browser knows how to interpret document relative links.

The BASE element allows global reference information to be set. Use of the HREF attribute provides a base address for interpreting all relative URL references in a document when the document is read out of context. The TARGET attribute specifies a global frame destination name to be used for page activation changes (in links, forms and image maps.)

Example:
&lt;BASE HREF=&quot;http://www.florentinedesign.com&quot; TARGET=&quot;_top&quot;&gt;

This may help your mailings, however we would recommend an absolute URL for each of your links.

Cutting and Pasting from a Microsoft Office Product

If you cut and paste from Microsoft Word, there is always the possibility that some formatting will not carry over into HTML very well. This is most often seen in the case of Auto formatting, when MS Word converts common keystrokes into symbols. -, "", ©, and a host of others. These are called Windows Characters, and they are not interpreted by your web browser.

Word represents these ASCII characters as numeric values which a browser cannot understand.

This is why it is best to always work in text mode, or save your document as a dos text document and lose all formatting before transferring it to your HTML email.

An excellent Text Editor to use is TextPad, which allows you to specify which code set you should use and save your document as. Be aware that merely pasting your code into TextPad or saving your document in MS Word as a text document is not good enough.

Using a Previously Mailed Document as the Basis for your code.

You may experience problems whenever you try to use code, which has already been mailed, as the basis for your new mailing. This is most often seen with code that has been rendered through a web-based browser which you wish to use again. Many web-based email clients and image hosting companies, such as Netscape NetMail or Akamai, have their own redirection and accounting which break your links if you try to send them a link which has already been processed by their system before.

Simply put, do not try to redirect a redirect. This is true for your own redirects as well.

Since these systems assign these redirects to any HTML link that it can discover, it is often better to avoid using "named anchors" as well. A named anchor, or "jump anchor" is a link which takes you to another spot in the same document.

<a name="foo"></a>&lt;A Name=&quot;foo&quot;&gt;

If a redirect gets placed on a named anchor, it will most likely either break or spawn a new browser window with unpredictable results. From a marketing standpoint, if your email is so long that you feel you need to use named anchors, maybe you should consider editing.

That's it for some of the basics. Stay tuned for next week's continuation of this article, where we'll discuss stripping out unnecessary HTML elements and responsible uses of JavaScript in HTML formatted email.

Thanks for doing something like this..

Submitted by mooreless on July 8, 2001 - 00:27.

I've seen your posts about this on the list and I'm glad to see more information about the problems with HTML mail available. I like your funny style,,[grin] our marketing dept. is also trying to get us to write their HTML email for them. I will definately use your article.

login or register to post comments

XP?

Submitted by Ami_Tanaka on July 9, 2001 - 10:43.

The windows code you mention is something we find a lot with clients. They usually do their documents in Word or use Office's export via XML/XLS to HTML function..which results in some starnge coding issues. I would like to know if XP solves any of these issues. Perhaps you could look into it?

login or register to post comments

Continuation?

Submitted by aericks on July 9, 2001 - 12:25.

I'm looking forward to the continuation as I'm still not sure based on this article exactly how to do it. Copying and pasting any html doesn't seem to work for me in regards to it showing up properly in the email.

login or register to post comments

Microsoft Office Tags

Submitted by noahlazar on July 10, 2001 - 20:18.

I've always had problems sending HTML e-mail in the past through Outlook. It will not let you write HTML directly (for positioning), but you can edit exitsing code from a sent message (by adding/deleting elements and links). When I try using Word's "Send E-mail" function, it always adds in Microsoft's MSO styles that tend to break every page in Netscape. The only solution I found, contrary to this article, is to use Yahoo! Mail. It lets you create a message using HTML tags, but use absolute paths to images on a server and avoid JavaScripting. Forward that to your Outlook account, remove the ad footer from the message, and you're all set.

login or register to post comments

Using a third party solution

Submitted by turoczy on July 12, 2001 - 01:11.

In a former life, I had to battle HTML email cross compatibility issues for Outlook, Outlook Express, Netscape Navigator, Eudora, and various flavors of Web based email readers on both PCs and Macs for the company's internal newsletter. It was a great opportunity to test do-s and don't-s in a controlled environment. The most reasonable* workaround I found (*that worked most of the time) was to send the email at the server from a third party tool. I used GroupMail, because a) it was free and b) it was easy to configure. I'd recommend trying it, or looking for another outside source of connecting to the server.

login or register to post comments

What's wrong with a URL?

Submitted by pixelgeek on July 17, 2001 - 09:59.

Am I the only one that wonders why, instead of forcing HTML into email (despite it not being supported at all by many email clients or the RFCs that define the standards) people don't just send out a URL?

Seems like a much simpler solution.

login or register to post comments

This is NOT what email was designed for!

Submitted by dryGRAYwhisper on August 2, 2001 - 15:54.

Yes, there are people out there, myself included, who DO NOT WANT to get HTML email. There are people out there, like me, who use text-only email clients (usually so we don't have to deal with the cruft that comes with graphical clients) and HTML email is basically illegible. There are also people like me who have gone so far as to set up filters to automatically delete any incoming email that uses HTML. The solution? Don't send HTML email! There's no need for it. It's extremely easy to get ideas across without embellishing text with useless colors and graphics and garbage that only detracts from the message you're trying to send and eats up bandwidth to boot. Post a URL if you simply can't live without, but I've never felt the need to embed HTML in my emails. While I recognize that my opinion is definitely a minority, but hopefully this might dissuade somebody from using HTML at all.

login or register to post comments

Some like it, some don't

Submitted by MartinB on August 4, 2001 - 01:52.

You're right - there are many people who can't, or don't want to, receive HTML email. But there are also many consumers who do. So instead of making an all or nothing choice, why not give your users the choice?

login or register to post comments

You can't print HTML email from Outlook

Submitted by bob on August 20, 2001 - 17:20.

I was hoping to find a solution to the problem of Outlook not being able to print HTML email. It looks nice until you try to print. Try printing a simple table or an image - can't be done. Why not?

login or register to post comments

Printing problems

Submitted by noahlazar on August 20, 2001 - 20:18.

The problem with printing may be more of an Internet Explorer issue than Outlook. Since Outlook uses the IE rendering engine, I would assume that it prints the same way. IE5.5 has greatly improved the way it prints web pages over 5.0, but it still has flaws. Try upgrading. Otherwise, you're basically out-of-luck.

login or register to post comments

Html email with Flash????

Submitted by mvent1 on November 15, 2003 - 15:48.

Hallo there, I need some help.... I have sent a html email before made in Dreamweaver, I opened it up in Word and sent it via Word through my Outlook Express. This worked fine. Now I am trying to send another html email with Flash in through Word, it can't open my html file....could that be because it has Flash in or that the file is too big (752 k) or is there another way for me to send it without using Word??? Greatly appreciated if ANYONE can help on this. thanks :-))

login or register to post comments

Flash in Email

Submitted by noahlazar on November 16, 2003 - 16:18.

Marisa, I would strongly recommend against using anything but static content in an HTML email. This includes Flash, JavaScript, and Java applets. A large number of email clients are not technically capable of displaying the Flash movie, others will block anything dynamic for security purposes, and worst of all, no one will want to download a 752 KB file to their email reader. Users who dial-up to grab email and disconnect won't even see images, let alone a Flash movie. Your best bet is to have some lively, interesting content in the email, with a link for users to go to a web page that has your Flash movie.

When the Discovery store sent an HTML email with a Flash movie, not only did it take a whole annoying minute to load, but it crashed Outlook as well. …I quickly unsubscribed from their list after that incident. Keep that story in mind.

login or register to post comments

Updates to HTML Email Information and Clients..etc

Submitted by FDG_Tom on November 16, 2003 - 21:02.

FROM THE AUTHOR:

I work in this every day..I sell it every day (Email Marketing)... I, of all people SHOULD be pushing Flash Email..because the demand is so high.

However, I agree with noahlazar completely that it is just not worth the hassle of trying to make your emails too dynamic. If you can't do it with your offer/message/content .. then using Flash isn;t going to help.

If you walked out to your mailbox, opened it, grabbed the mail, sifted through it and suddenly a letter started playing music and little 3D cartoons popped out of it and started dancing... you'd probably drop it and run.

Anyway...

Here are some information articles we've created from our lab (26 different email clients/platforms and rising) - which are not Evolt-friendly since they rely on too many graphics & demos, etc...

Take what you can from it! Thanks - Tom

HTML Email Articles

HTML Email Articles

login or register to post comments

Thanks!

Submitted by mvent1 on November 17, 2003 - 00:29.

Thanks for the info, I have used normal html for my email, causes less hassles. THANKS FOR THE ADVICE CHEERS

login or register to post comments

The access keys for this page are: ALT (Control on a Mac) plus:

evolt.orgEvolt.org is an all-volunteer resource for web developers made up of a discussion list, a browser archive, and member-submitted articles. This article is the property of its author, please do not redistribute or use elsewhere without checking with the author.