Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsForm and ListForm and Listcan tokens be used in Email messagecan tokens be used in Email message
Previous
 
Next
New Post
4/4/2011 11:28 AM
 
Can tokens be used in the email Tracking Messsage area (where the body text is)?

e.g.
we have used [Email] token in the cc area to send copy of the email as confirmation to the user.
But would be good if we could write this in the body text:

Dear [FirstName],
....


 
New Post
5/20/2011 2:19 AM
 
This is exactly what I've been looking for. In our case it's a contact form. We want the admin to receive the collected data in the email. For example:

Name: [FirstName] [LastName]
Email: [Email]
Comments: [Comments]
 
New Post
5/20/2011 3:15 AM
 
SendMail doesn't perform a token replacement, this needs to be called prior to sending by the calling module - which might also adjust the environment for replacement (specify user, module, portal, properties might be used from.

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
5/20/2011 1:49 PM
 
Well, what about the XSL scripts in the Email options? Could you provide an example for a simple mail containing the data in the form? Also, it would be a good feature for the module to support tokens in the body of the mail (I hope it's still being developed).
 
New Post
5/20/2011 1:58 PM
 
Hi Carlos, I use an xsl template for one of my forms that includes all the fields that I used collecting the information.  Here's a short example of it, the fields are in maroon color. Hope it helps.



<table align="center" style="border:1px dotted #5BB2B4;font-family: Verdana; font-size:10px; font-weight:normal; background-color:transparent; vertical-align:top;">
      <tr>
        <td class="Normal" colspan="2">
The Company Directory has detected a change initiated by <xsl:value-of select="/udt:UserDefinedTable/udt:Context/udt:DisplayName" disable-output-escaping="yes" />.<br /><br /></td>
      </tr>
      <tr>
        <td class="normalBold">Associate</td>
        <td class="Normal" style="border-left:1px dotted #5BB2B4;padding-left:10px;">
          <span style="font-weight:bold;font-size:1.2em;">
            <xsl:value-of select="udt:First_x0020_Name" disable-output-escaping="yes" />&#160;
          <xsl:value-of select="udt:Last_x0020_Name" disable-output-escaping="yes" /></span>
          <br />
          <span style="font-weight:bold;">
            <xsl:value-of select="udt:Job_x0020_Title" disable-output-escaping="yes" />
          </span>
          <br />
          <br />
          <xsl:value-of select="udt:Address" disable-output-escaping="yes" />
          <br />
          <xsl:value-of select="udt:City" disable-output-escaping="yes" />,&#160;<xsl:value-of select="udt:State" disable-output-escaping="yes" />&#160;<xsl:value-of select="udt:Zip_x0020_Code" disable-output-escaping="yes" /><br /><br /><xsl:value-of select="udt:Email" disable-output-escaping="yes" /></td>
      </tr>
      </tr>
      
    </table>
 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsForm and ListForm and Listcan tokens be used in Email messagecan tokens be used in Email message


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out