I have a Problem. I will do a form for Contact. In this From can the Customer ask Question. When the Customer is finish he will click send.
This event will send me a email to [email protected] is this possible an how.
The email is to definite in the backend.
As far as getting your email content from the back office you should be able to use something like:
int emailTemplateId = [Node Id of Email from Back Office];
var umbracoHelper = new UmbracoHelper(UmbracoContext.Current);
IPublishedContent emailTemplate = umbracoHelper.TypedContent(emailTemplateId);
string emailBody = emailTemplate.GetPropertyValue<string>("[Attribute Name that contains the Email Body Goes Here]");
From to Email
I have a Problem. I will do a form for Contact. In this From can the Customer ask Question. When the Customer is finish he will click send. This event will send me a email to [email protected] is this possible an how. The email is to definite in the backend.
Hi Michael,
The video in this post should help you understand all you need to create a contact form that sends an email:
https://our.umbraco.com/forum/using-umbraco-and-getting-started/80804-tutorial-how-to-create-a-contact-form-in-umbraco-using-mvc-and-c
As far as getting your email content from the back office you should be able to use something like:
is working on a reply...