Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Eric Siebeneck 26 posts 46 karma points
    Oct 14, 2013 @ 17:27
    Eric Siebeneck
    0

    Can you include images within the email message

    We are building a client site with Umbraco and have a couple forms created using Contour. The client would like the forms to have two Workflows - one that emails them and the other that sends a message to their client (that filled out the form). For the second Workflow, our client would like to include their logo at the top of the email that their customer receives. I tried adding an <img src=""> tag within the Contour Message area, but that resulted in the following error message:

    A potentially dangerous Request.Form value was detected from the client (ctl00$body$Message="...t reply.
    <img src="">").

     

    Is there another way that images can be added to the emails?

  • Fuji Kusaka 2203 posts 4220 karma points
    Oct 14, 2013 @ 23:16
    Fuji Kusaka
    1

    Hi Eric,

    Yes you can add logo in the second workflow by making use of xslt transformed email. You can easily send the mail back to the submitter with your logo or a print out of an html format.

    Create a new xslt file under Developer section then something like this should get you working

     <xsl:param name="records"/>

    <xsl:template match="/">

    <table align="center" border="0" cellpadding="0" cellspacing="0" width="600">
    <tr valign="top">
    <td> <img src="img.jpg" width="600" height="102" border="0" /></td>
    </tr>
    <tr valign="top">
    <td>
    <xsl:value-of select="$records//fields/child::* [caption = 'Name:']//value"/>
    </td>
    </tr>
    </xsl:template>
Please Sign in or register to post replies

Write your reply to:

Draft