Click here to Skip to main content
15,847,077 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi I am creating an email template using salesforce, but when i try and send this email to an outlook email address, the image doesn't display. Please help. I have used the word image link for reference.

What I have tried:

<table background="imagelink" background-position="" border="0" cellspacing="0" height="250" width="100%">

  <tr>
   <td width="10">
   </td><td width="10">
   </td></tr><tr>
   <td height="60" width="50">
   </td><td bgcolor="FFFFFF" height="60" style="text-align: center;">
    <div>
    </div><div style="line-height: 100%;">
     <span style="font-size:30px;"><span style="color:#000000;"><span style="font-family:georgia,serif;">Welcome Home!</span></span> </span></div></td><td height="60" width="50">
   </td></tr></table>
Posted
Updated 26-Mar-19 11:23am

1 solution

Assuming "imagelink" is a link to an image on your website, that's not going to work. Most email clients will not load external images, because spammers use that to track the progress of their spam messages.

You'll need to embed the image within the message as a "linked resource". For example, in C#: Linked Resource[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900