You need to sign in to do that
Don't have an account?

images in visualforce email template
hello every body,
I am currently working on visual force email template
i want to set a logo in my email but when i do it with the help of htmlEmailBody it shows me txt but not the image
when i send this image using attachment, there i can see my image
can any body guide me how can i add an image in my visualforce email without sending it into attachment?
In email teplates Normal images from static resource will not work you need use the url of web.
Try this will work
<img src="http://images.clipartof.com/small/227558-Royalty-Free-RF-Clipart-Illustration-Of-A-Shiny-Round-Orange-And-White-Plus-Button.jpg"/>
This work check it. So the image should be uploaded in to web server otherwise won't work in email templates.
HI,
upload logo
-----------------------------
step 1: upload your company logo in document Object [find tab in all tab];
check you image[logo] is Externally Available Image
step 2: save it
here u can see uo logo is uploaded
step 3: right-click on logo and copy image url
create Email template
--------------------------------------
step 1: create Email Template with type=Custom
step2: use html code <img src="<paste logo URL here>" alt="logo" />
setp 3: set you other email template content and save it.
Hope this helps U
This works for me, thanks for the post.