ASPX templates
Version 5.x > ASPX templates > Custom email template "tags"? View modes: 
User avatar
Member
Member
kheon-pixelmedia - 3/16/2011 7:53:34 AM
   
Custom email template "tags"?
When building forms I've noticed you can control the email template and leverage tags tied to columns in the form database.

Is it possible to create new tags? I have a need to grab a value from the URL and present that as part of the email sent.

Also, using BizForms, is is possible to set the notification delivery information at runtime? I want to send to an email entered via the form. Can I get away with sticking a tag into this field?

User avatar
Kentico Developer
Kentico Developer
kentico_ivanat - 3/18/2011 8:57:57 AM
   
RE:Custom email template "tags"?
Hi,

If you would like to send a notification email to the address inserted in the form, you can use an Autoresponder functionality (CMS Desk - Tools - BizForms - your_bizform - Autoresponder), where you can select field based on which value should be the notification email sent.

If you need to send some more customized email, you could clone the bizform webpart and send the email using this code.

If you need to send an email containing information from the URL you can use for example custom macro to get appropriate information and insert this macro to the template. Then you could insert this macro into the email template. Custom layout (content) of the notification email can define in the Autoresponder tab.

Best regards,
Ivana Tomanickova