Site Archive (Complete)
Email
Print
Reprint

add to:
Del.icio.us
Digg
Google
Furl
Slashdot
Y! MyWeb
Blink
January 01, 2002
Sending HTML Newsletters

WebReview.com: Sending HTML Newsletters

HTML newsletters are a powerful outreach tool. They can draw readers to your Web site, deliver interactive content, and focus marketing efforts by matching user preferences. But before you start mailing off your Web pages, there are a few things you should know. Netscape provides a good explanation of the process on their In-Box Direct Technical Information page. Below are the highlights:

1. Here's the most critical tip: Don't just cut and paste the contents of an HTML file into an email and send it to the list. The Unix mailer program on the receiving server won't recognize the body of your message as HTML. It looks at the header. If the header says the MIME type is plain text, then all the end user sees is source code -- even if they're viewing it in Netscape Messenger or Microsoft Outlook Express. And it ain't pretty. What you need to do is modify the header, which is something you can't do in email clients such as Messenger, Outlook Express, or Eudora.

To ensure the recipient gets the mail as the HTML page you intended, compose your message directly in a Unix mailer program. That way, you can modify the MIME type in the header as follows:


% sendmail list@some.server.somewhere.com
MIME-Version: 1.0
Content-Type: text/html
Subject: Look Ma, no ASCII

Curt Degenhart gives HTML email a big thumbs down. Check out his rant in this week's Web Review.


Make sure you put all the headers at the top of the message with single line breaks in between. Once sendmail reads two contiguous line breaks, it assumes the remaining text is the message body. Also, add a single period (.) at the end of the message.

2. A good first precaution in HTML newsletter distribution is to confirm with the users that they can actually receive HTML email. On your subscription form, verify that the users get mail through an HTML-aware client and access their mail through a standard Internet connection (one that uses SMTP, POP3, and MIME protocols). Someone who surfs the Web at work but only has a company-wide cc:Mail or Lotus Notes messaging might try to sign up. It would be helpful to briefly explain why they can't and recommend some free Web-based email services so they can.

3. Finally, as with any Web production, you want to test, test, test. Make sure that what appears seamless on your Web site looks equally inviting in email, or change it. For instance, in the current version of Messenger, frames, page anchors, and custom backgrounds are not supported. Mail read offline will contain only generic graphic icons.

For the most part, the content you design for your Web site can easily be repurposed for a newsletter. Just be sure you have the correct MIME type in the header, customize delivery so the mail doesn't go out to ASCII-only clients, and test it in several HTML email clients.


Comparing HTML-Aware Email Clients
E-HTML: Revealing the Weak Links of HTML-Enabled Email
Sending HTML Newsletters

DR. DOBB'S CAREER CENTER
Ready to take that job and shove it? open | close
Search jobs on Dr. Dobb's TechCareers
Function:

Keyword(s):

State:  
  • Post Your Resume
  • Employers Area
  • News & Features
  • Blogs & Forums
  • Career Resources

    Browse By:
    Location | Employer | City
  • Most Recent Posts:
    MEDIA CENTER  more
    NetSeminar
    Solving the Multicore Programming Problem
    Processor raw speed gains are hitting a brick wall of power consumption. The voracious appetite for performance now must be sated through the use of multiple CPUs. The problem: multicores are hard to program. Chuck Moore of AMD said "To make effective use of multicore hardware today, you need a PhD in computer science." Learn how Gedae expands the pool of multicore developers while offering unrivaled performance and productivity. Event Date: Wednesday, June 11, 2008.
    Finding Runtime Concurrency Errors in Multithreaded Java Applications
    Join Coverity on June 3 at 2:00 PM ET / 11:00 AM PT for a web seminar "Finding Runtime Concurrency Errors in Multi-threaded Applications." In this session Thomas Schultz of Coverity's Advanced Technology Group will offer a presentation and demonstration of Coverity Thread Analyzer for Java, a new dynamic analysis solution for multithreaded Java applications that automatically and predictably detects existing and potential race conditions and deadlocks that can cause deadly application behavior. Register today and find out how to:
    • Automatically and rapidly detect serious concurrency errors
    • Avoid data corruption and application failures
    • Sharply reduce the problem of testing billions of unpredictable thread interleavings
    • Reduce risk of migration to multicore systems
    • Combine dynamic and static analysis to improve overall code quality
    Creating Software Like a Band Plays Jazz: The Future of Software Delivery
    The workforce of the future is changing, becoming increasingly organizationally and globally distributed, fluid and dynamic. And nowhere is this shift more visible than in the domain of software delivery, where business and technical expertise is increasingly distributed across town or around the world. Join us as two IBM luminaries, renowned software futurist Grady Booch and Eclipse luminary Erich Gamma, explore IBM's vision of the future and what IBM is doing to realize this vision with the Jazz project and Rational Team Concert. Event Date: Tuesday, June 17, 2008
                                   

    ♦ sponsored
    EVENTS

    July 21-24, 2008
    Chicago, IL
    Find real-world solutions to your biggest software architecture challenges at Architecture & Design World 2008. Register by June 20 and save up to $300!
    The Dobbs Challenge
    THE DOBBS CHALLENGE
    Download the Dr. Dobbs Challenge game for either Windows or Windows Mobile and modify it using Visual Studio 2008. Win $10,000!
    INFO-LINK

    Resource Links:




    Related Sites: DotNetJunkies, SD Expo, SqlJunkies