ELC Treasurer
ELC Treasurer

Reputation: 1

Totally lost with Mobius Forms v5 on DNN

I am failing to understand if:

  1. The contents of the form are emailed out or not.
  2. All I can get out and received via email are notifications of a submission.

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

Answers (2)

iJungleBoy
iJungleBoy

Reputation: 5638

Just fyi: Mobius 6 was just released, it's very different and hopefully much easier. Requires 2sxc 17.07.

Upvotes: 0

Jeremy Farrance
Jeremy Farrance

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.

2sxc App Settings screen clip

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:

Owner Notification Email sample with custom fields

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:

2sxc/Mobius, System Config for Form Instances

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:

  • Turn off email to Owner
  • Turn on email to Customer
  • Then under Customer Mail Settings, set the CustomerMailTempalte to EmailToCustomerWithData.cs

Upvotes: 0

Related Questions