Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

TeeJay (2309)

TeeJay
  (email not shown publicly)
http://www.aarontrevena.co.uk/

Working in Truro
Graduate with BSc (Hons) in Computer Systems and Networks
pm : london.pm, bath.pm, devoncornwall.pm
lug : Devon & Cornwall LUG
CPAN : TEEJAY [cpan.org]
irc : TeeJay
skype : hashbangperl
livejournal : hashbangperl [livejournal.com]
flickr :hashbangperl [flickr.com]

Journal of TeeJay (2309)

Tuesday April 05, 2005
12:57 PM

Email HTML project

[ #24028 ]
I have been working with Denny on a Mailshot Management system at work, the last couple of days have been spent finishing it and now it seems to mostly work.

The last hurdles have been

  • making it use the inhouse templating system to generate email
  • munging HTML to replace http links with cid links
  • getting stylesheets and inline images to show properly in clients

The first two were fairly trivial, the last has been a bugbear.

Sending HTML email sends you back to the dark world of the late 90's web where various parts of HTML are unsupported, broken or handled differently by each client and webmail is even trickier as you have sites that munge the HTML, eating, modifying and replacing the content of the mail.

Anyway, the key solutions are to use to provide the style in a couple of ways (cid, href, in style tags) both in the HTML Header (which may get eaten) and body.

I also found some very good references but haven't the time to read through or summarise them properly so here are the links

The project itself is the company's first use of Class::DBI and it seems to be working pretty well but Openfire (our inhouse appserver/templating system) has a long way to go before it works as smoothly as TT with a handful of plugins.

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.