I've got the userforms working. I get the submissions no problem in the admin section, but I cannot seem to get emails when people submit.
Being totally new to this kind of thing, I've gone through the help-modules:userforms (http://doc.silverstripe.com/doku.php?id=modules:userforms). I defined the email in the _config file in my root directory (is this the correct _config file?). I've set it to email form on submission and entered the email address. Is there anything else I am missing or not doing? The help page has the list seen below, but I am not quite sure what to do as it just lists files.
7. Ensure Email::setAdminEmail(â€™[email protected]â€™); is defined in _config.php of your project
* email/SubmittedFormEmail.ss (See UserDefinedForm_SubmittedFormEmail. The email the admin will recieve once the form is submitted, if the â€œsend copy to this email addressâ€ checkbox is ticked, a copy of this email will be sent to the user)
* use this template control for the email templates:
<% if Data %>
<% control Data %>
<% end_control %>
<% end_if %>
*ReceivedFormSubmission.ss (the template that the user is sent to, once the form is submitted - add $OnCompleteMessage in this template to show the â€œon completeâ€ text)
Any help would be greatly appreciated. Thanks in advance!