Contact Form Submit Confirmation Email
If I need to send out a email after a contact form submission, how do I go about doing it?
Hi Jason,
To send the confirmation email to the form submitter, need to override the SendMessage() method of the Sitefinity's default SmtpSender.
1. Inherit the Sitefinity's default SmtpSender into your custom class (Ref. http://www.sitefinity.com/developer-network/knowledge-base/details/how-to-extend-sitefinity-smtpsender)
2. Retrieve the receiver's email address from the form field (Ref. http://docs.sitefinity.com/for-developers-get-formfield-values-from-submitted-form-responses)
3. Check whether the notification is for the form submission.
4. Use IMessageInfo to get the default form notification details, e.g. subject and body in case of sending the default form notification to the submitter.
5. Make a custom email and send it to the submitter email address using custom forms control (Ref. http://www.sitefinity.com/blogs/radoslav-georgievs-blog/2011/12/23/how_to_implement_notifications_for_incoming_forms_responses)
Also the following third party forms extension, Fenêtre Form Extension for Sitefinity, can be used which is having the option to send confirmation e-mail message to form submitter:
https://github.com/Fenetre/Sitefinity-Form-Extension-Widget
Regards,
Arnob Makhlaqur
Telerik by Progress
Thanks for replying. I will look into the links provided.