0
0
So I've designed an HTML template to send out some emails on. The code is fine, everything looks great there, and it tests just fantastically. I was sending out putting my recipients in the BCC field, but I decided to make it a little more personal and open the file in Word and do an email merge.
The HTML file itself is 3.06kb and contains an img src to an absolute URL, which is about 125kb (a little large, I know, but it's very important). When I merge the file from Word 2010 -> Outlook 2010, the email size jumps to about 250kb. It's not much, I know, but I'm a gigantic nerd and I'm stuck thinking it should be about 5kb with MIME overhead.
Here's the file list on one of the test emails:
File Size
image001.png 104366
image002.gif 43
MESSAGE 1259
Mime.822 152575
TEXT.htm 5712
Since the img src is specified, I'm not sure why these are coming through. If this is an issue inherent to Outlook, I'd be happy to explore other options.
Understandable, but isn't it standard to link to images in an HTML email? I can't help but make the assumption that this would work normally in any other mailer (Constant Contact-esque programs) – Nic – 2011-02-28T20:00:48.940
Well, consider that relative addressing does not exist for the email, since it has no base-document address. Therefore Word just has to convert relative addressing to something that will work, which is including the images inline. It is actually doing you a favor, by automatically correcting the error in your html. – harrymc – 2011-02-28T20:24:19.217
I think it has that behavior for both absolute and relative. I created the template in NetBeans with absolute addresses in the img tag, then opened it in Word for the merge. I'm pulling my hair out with this, but I understand what you're saying. – Nic – 2011-02-28T21:22:33.723
If Word is inlining images with absolute address, then this is a bug in Word. You might be able to force Word not to inline by inserting the image as a hyperlink field. If this doesn't work, then Word is simply not suitable for this job. – harrymc – 2011-03-01T06:59:34.993
@melee: Any news? – harrymc – 2011-03-05T08:06:25.547
Going to have to agree that it is a bug. – Nic – 2011-03-06T17:27:36.463
Yes, it does look like a bug. As a side-note, awarding the bounty has to be done by pressing the Bounty button. Accepting the answer is not enough. – harrymc – 2011-03-06T17:46:52.100
So it gave you half automatically? That is weird. Sorry about that. – Nic – 2011-03-09T00:55:14.763
The FAQ is here.
– harrymc – 2011-03-09T06:15:39.203