Populate email body with image and multi line text RRS feed

  • Question

  • Hello. I am trying to set the image and the text in the email body using the format mentioned in the image attached with this post. I have the text in a separate variable. But i am unable to figure out how can i add image in the email body and at the same time change the color of the text that is saved in the separate variable. I want the body of the email according to the following picture. Any help would be greatly appreciated.
    Friday, April 19, 2013 5:35 PM

All replies

  • Hello,

    You need to put the image on a public web server and use the URL in the email body, about the colors you can use CSS styling and you'll get something like this:

    	<head>	</head>
    		<div style="color:red">This text is red</div>
    		<div>This text is black</div>
    		<img src = "http://mysite.com/myimage.png" />
    		<div style="color:red">This text is red</div>
    		<div>This text is black</div>

    I hope this helps.

    Friday, April 19, 2013 8:05 PM
  • My text is stored in a variable . How do i display my text in html through that variable?
    Saturday, April 20, 2013 8:16 AM
  • If the text stored in a field in some record maybe you can use an email template and add a dynamic field.
    • Proposed as answer by Minal Dahiya Monday, April 22, 2013 5:39 AM
    Saturday, April 20, 2013 12:02 PM