Copied to clipboard

Flag this post as spam?

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


  • Fuji Kusaka 2203 posts 4220 karma points
    Aug 08, 2011 @ 14:30
    Fuji Kusaka
    0

    On Submit

    Hi there,

    When Submitting my Contact Form with Contour after setting up the Workflow and Receiver Email Address, I cant get any email to my indox.

    I there something else i need to Configure?....

    //fuji

  • Comment author was deleted

    Aug 08, 2011 @ 15:18

    2 things you have to configure:

    1) smtp server in mailsettings part of web.config
    2) valid sender email in /config/umbracosettings.config

    Cheers,
    Tim 

  • Fuji Kusaka 2203 posts 4220 karma points
    Aug 08, 2011 @ 19:20
    Fuji Kusaka
    0

    Hi Tim,

    So do i have to add the reveicer email address in config?....I thought this can be done directly in the contour section when working the workflow.

    Am i right?

    //fuji

  • Tom Fulton 2030 posts 4998 karma points c-trib
    Aug 08, 2011 @ 19:30
    Tom Fulton
    0

    Hey Fuji,

    Tim is talking about the Sender (From) address - by default Contour uses the one defined in /umbraco/umbracoSettings.config, the same one the Notifications etc use.  The Receiver (To) address is defined in the workflow as you are expecting.

    The steps Tim mentioned should be all you need to get going..

    -Tom

  • Fuji Kusaka 2203 posts 4220 karma points
    Aug 09, 2011 @ 09:30
    Fuji Kusaka
    0

    Hi Tim,

    Yes got this working, so i did change the email address in my umbracoSettings.config, but how do i send a notification to the User in the Workflow telling him that the email he submitted on the website has well been received?

    How to add the workflow for this?

     

    //fuji

  • Comment author was deleted

    Aug 09, 2011 @ 10:13

    Well you can also just add an email workflow and set the receiver email to {record.email} (using the special bracket syntax 

    It depends on how the email field is called on your form. For more info on the syntax please check the contour developer docs

  • Fuji Kusaka 2203 posts 4220 karma points
    Aug 09, 2011 @ 12:00
    Fuji Kusaka
    0

    Tim this is how i did it in my workflow. The First workflow will send to the admin of the website notifying him of any entry and the second sending a notification to the user.

    I made use of the special bracket syntax to retrieve the email address to send to but still not getting any email.

  • Fuji Kusaka 2203 posts 4220 karma points
    Aug 09, 2011 @ 13:14
    Fuji Kusaka
    0

    Tim got it working i used the {email} instead of {record.email}. However is there a possible way of removing the fields entered that is the Name, email, address etc when the user receives the email in its inbox?

     

    //fuji

  • Tom Fulton 2030 posts 4998 karma points c-trib
    Aug 09, 2011 @ 13:57
    Tom Fulton
    0

    Hi Fuji,

    I think the default Contour "Send Email" workflow automatically appends your form fields & values on the bottom of the email.

    If you don't like this you can use the "Send email XSLT transformed" and use XSLT to specify the email content.

    Or you can use one of the workflow types in the Contour Contrib project, I think the "Send email extended" workflow has a checkbox where you can select whether to include the appended fields or not.  Note if you use this I think you need to add this key to your web.config's appSettings to avoid an error:  <add key="contourContribUseSsl" value="false" />

    -Tom

  • Fuji Kusaka 2203 posts 4220 karma points
    Aug 09, 2011 @ 17:57
    Fuji Kusaka
    0

    Hi Tom,

    Am using the "Send email XSLT Transformed" but cant get only certain field to display, instead its displaying all the fields.

    Can you please explain to me how i can get it working using the logic from this

     

    <ul>
        <xsl:for-each select="$records//fields/child::*">
          
          <li>
                 
           <xsl:value-of select=".//value"/>
          <!-- Only username and gender should be displayed here -->
         
    </li>
        
        </xsl:for-each>
      
      </ul>
  • Tom Fulton 2030 posts 4998 karma points c-trib
    Aug 09, 2011 @ 18:21
    Tom Fulton
    0

    Fuji,

    Instead of using the for-each loop, if you only want to display specific fields you can use something like this:

    Name:  <xsl:value-of select="$records//fields/child::* [caption = 'YourUserName']//value"/>
    Gender:  <xsl:value-of select="$records//fields/child::* [caption = 'Gender']//value"/>


    Replacing the caption= part with the "alias" of your field's caption

    -Tom

  • Fuji Kusaka 2203 posts 4220 karma points
    Aug 10, 2011 @ 07:36
    Fuji Kusaka
    0

    Still nothing is showing up when using

    <xsl:value-of select="$records//fields/child::* [caption = 'email']//value "/> 

    Am just testing with the email field knowing the email fileds works since getting a mail.

     


Please Sign in or register to post replies

Write your reply to:

Draft