March 9th, 2006

Default

Newsletters: PDF, HTML, multipart

Perceptions are interesting. Theresa, who has become one of the core members of Shoestring Theatre Company, is charged with doing their monthly newsletter. Upon receiving her first draft (HTML email), John said it should be sent in PDF format. The reason? It will feel more like a "real" newsletter.

So, to cater to perceptions, the newsletter becomes less accessible, comes attached to an email that says nothing about the contents (though Theresa could add a summary or ToC if she wished), and is only seen if recipients can be bothered opening the attachment.

The question is, what is the right way to do email newsletters or announcements? I've been thinking about this, because, as the moderator of Hartwell's mailing list, I'm hoping to exert a little quality control over it.

Plain text is good for purists like me, but formatted text aids reading, especially for long messages and newsletters. However, many email clients have little or no support for HTML.

The solution is to use multipart/alternative: send both a text version and an HTML version and let the client choose.

But how do you create it and send it? Sure, most programs will do it, but a) they have limited support for making good HTML and b) they automatically create the plain text version, which means you don't get control over the plain text layout.

After much searching, I've finally found out how to create multipart/alternative using mutt. Well, it's new functionality, so I'll need the development version.

1. Create HTML message.
2. Format plain text version.
3. Attach both in mutt (plain text first for non MIME clients).
4. Group them together and send.

Yay!
Default

Gripe's of the day

How is it that the bowling team named "You're all gone'rs" has enough competency with English to use "you're" instead of "your"? Perhaps "gone'rs" is deliberate and I'm just missing some funny word play.

But I don't get that feeling with some other names. We also have teams named "MM's" and "The Tranni's" with nothing to indicate any possesision. Perhaps they're just abbreviated team names; "The Tranni's bowling team"? "The Tranni's a one woman bowling machine"?