I am sending an HTML email that contains an image with cfmail. In summary the code looks like this:
<cfmail from="me@email.com" to="user@email.com" subject="My Subject" type="html">
<img src="http://www.mywebsite.com/images/my_image.jpg" style="height:120px;" alt="My Image" />
</cfmail>
As you can see, I set the CSS height attribute to 120px. In the browser, this scales the image to 120px high and automatically determines the proportionate width. In email, at least in Outlook 2007, it does nothing. The image appears with its original height and width.
I'm sending from a ColdFusion9 box, so I've tried using cfimage without any luck, but it's likely I'm just doing something wrong. Any way to resize this image in the email on the fly? Thanks!