Reputation: 1
I am failing to understand if:
What I am looking for is where to put a destination email address that will receive the form contents
Thank you
permutated though all the configure this form parameters and do not understand how it works. I suspect it should email the contents of the form but to what email address... where do you put the receiving email account.
I dont want to send an email to the owner of the site, but to a different email address
Upvotes: 0
Views: 63
Reputation: 5638
Just fyi: Mobius 6 was just released, it's very different and hopefully much easier. Requires 2sxc 17.07.
Upvotes: 0
Reputation: 1108
Some of the things you are looking for are in code and App Settings.
The destination email address in Mobius is called, "Owner Mail" and is stored in the Settings stack. So if you have multiple forms and the site should have all the email notifications going to the same person, then you want App Settings. If different forms will have different send-tos, then you will want to set a custom Config for each form you have.
I normally setup the App Settings anyhow. Think of them as Global/Default or Fallback. Doing that first means you can skip them in each Form's config.
Then yes, by default, the emails just send a basic notification to the Owner and also to the "Customer" if you have those turned on and the emails filled in at the Config or App level.
I also when thru the steps of defining a completely custom form. I added two fields, saved and then gave it a try. The form submitted successfully and the email showed up in my inbox within 30 seconds. The from, to, and subject were exactly per my settings and the body of the email contained my newly created custom fields as expected:
To get more control of the emails and enhance the layout/styles, you need to do this in code (I think). This is also in settings; you can specify the name of the code file that will build and send the email. You can see that setting here:
Here is the full path from the root of your DNN instance to where that default file is:
/Portals/0/2sxc/MobiusForms6/live/email-templates/EmailToOwner.cs
By looking at the other files in that folder, you will discover the final piece you need to accomplish what you want, there is an additional file named EmailToCustomerWithData.cs
.
So, in your form config:
EmailToCustomerWithData.cs
Upvotes: 0