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(’my@email.com’); is defined in _config.php of your project
* email/ReceivedFormEmail.ss
* 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 %>
<ul>
<% control Data %>
<li>$Title: $Value</li>
<% end_control %>
</ul>
<% 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!