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..
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.
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?
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 example@company.com" />
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 example@company.com or Company Name (example@company.com) 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 ?
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
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.
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
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
I noticed that I could set a name on the e-mail responders name with this i web.config:
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 example@company.com or Company Name (example@company.com) 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
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.