Copied to clipboard

Flag this post as spam?

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


  • Bjarne Fyrstenborg 1284 posts 4038 karma points MVP 8x c-trib
    Aug 15, 2011 @ 20:13
    Bjarne Fyrstenborg
    0

    Modify subject, from e-mail and name

    Is is possible to modify the code, so the subject of the mail will be the subject the user enter (or select from a dropdown) and use the e-mail address + name in the e-mail, so you just can reply the e-mail, instead of creating a new one..

    Bjarne

  • Jon Cuthbert 84 posts 173 karma points
    Sep 06, 2011 @ 17:04
    Jon Cuthbert
    1

    For the subject field, does the token feature work for this? You can add user input into the subject of the email by using {name}. The name is the name of the Umbraco node you want included.

    As for the from email address, maybe I'll be able to do the same token idea for this in the future.

    Thanks for the suggestion.

  • Bjarne Fyrstenborg 1284 posts 4038 karma points MVP 8x c-trib
    Sep 06, 2011 @ 17:30
    Bjarne Fyrstenborg
    0

    Okay.. so instead of writing "Message from contact form" in backend for the subject, you can write {email} into this field, where email is the nodename of the e-mail node/field?

    Bjarne

  • Bjarne Fyrstenborg 1284 posts 4038 karma points MVP 8x c-trib
    Sep 06, 2011 @ 18:04
    Bjarne Fyrstenborg
    0

    Sorry, of course I ment {subject} instead..

    When inserting {subject} instead of the "Message from contact form" in the Subject field in backend it works :)

    Bjarne

  • Bjarne Fyrstenborg 1284 posts 4038 karma points MVP 8x c-trib
    Dec 02, 2011 @ 17:51
    Bjarne Fyrstenborg
    0

    I noticed that I could set a name on the e-mail responders name with this i web.config:

    <add key="PliableForm.fromAddress" value="Company Name [email protected]" />

    then I see the Company Name instead of just the e-mail..
    but both the auto sended mail to the user and the one the company get use the same e-mail address.. the fromAddress.

    Is it possible to modify the code, so the mail sended to the company use the e-mail node selected and as name the name field node (the users input in the name field) ?

    Then the company can distinguish the received e-mails from each other, instead of the have e-mails with [email protected] or Company Name ([email protected]) as senders name.

    I think it should be quite easy to change, as the e-mail sended to the company just should use another property in backend, dictionary item or key in web.config ?

    Bjarne 

Please Sign in or register to post replies

Write your reply to:

Draft