[SalesForce] Pasting an image into the template of an outbound email

We are currently using the standard frame-based email templates which are supplied by SF. In one of our applications we occasionally need to manually create an email to send out to clients regarding a particular case. However, we would like to be able to paste an image at the bottom of the template before it goes out. It's not an image which we can include in the template because it will be different every time (it's a graphic rendering of a specific solution). We can do this in the Free Form template by just clicking inside the frame at the bottom and pasting, but we can't do that in the Newsletter template which has multiple columns because it will mess up the formatting.

Ideally, we would be able to just have one more frame at the bottom of the Newsletter template which went all the way across the width of the template.

Anybody have any thoughts on this ? I am almost starting to think that I will have to re-create the entire template in manually created HTML within a VF page – but there's gotta be an easier way than that !

Sorry for the long explanation.

Thanks so much for any input you can give here.

Best Answer

If you can put a </tr> (or </td>) followed by a <colspan = #_of_columns> and a <tr> tag (or <td> as appropriate) at the bottom of the body of your newsletter template, you'd have what you want provided the template is in html and wasn't created using APEX Table formatting.

If the template is done with APEX mark-up, you'd need to alter the template to add a table with 1 column and 1 row at the bottom of it so you could past your images into it.

As for getting the mark-up code, open the visualforce page in developer mode with Show View State in Development Mode enable in your personal profile. Both require you to go into SetUp, click on "My Personal Information", then "Personal Information" and enable the checkboxes for them. Once the visualforce page is loaded you'll be able to see it's source code (and edit it) by clicking on the icons at the bottom of the screen.

Related Topic