10994 Posts in 2728 Topics by 1819 members
Page: 1 2
|Go to End||Next >|
21 March 2009 at 12:51am
I am using the latest SilverStripe 2.3.0 and downloaded the UserForms module..
But I am not receiving any email when someone try to fill the form... is there anything that needs additional configuration??
25 April 2009 at 3:50pm Last edited: 25 April 2009 3:51pm
I had this problem until I set a "from" email address for all the form emails.
And then it worked fine.
Try adding this to your mysite/_config.php
13 May 2009 at 2:12am
My userforms are all working except that emails are not being received. Does the site need to be live for this to work? It's only on my computer for now.
13 May 2009 at 11:01am
You are on MacOSX ? on Windows ? on Linux ?
If you are on Linux, you just have to install a mail server, like Postfix :
- If you are on Fedora : sudo yum install postfix
- If you are on Ubuntu : sudo aptitude install postfix
Actually, if you are on Windows or MacOSX I don't know how to help you
13 May 2009 at 11:05am
You might need to check your PHP mail settings on your local PC to get it to work.
Check Google for how to configure this properly.
I think you'll find once it is live and on a properly configured mail server it should work if you have set the Admin Email properly.
14 May 2009 at 2:23am
I am on MacOSX.
14 May 2009 at 2:40am
Jordan, I'm going to upload the site today, so I'll see how it goes. It could be more than that however since I'm not sure I did this part 100% right:
To implement, change the pageâ€™s class name to â€œa contact formâ€, an save. then:
Make sure you have $Form in your template.
Add fields under the form tab. (some fields will require extra components, such as options for a dropdown)
Decide whether the form should email submissions, if so, add an email and check the box marked email form on submit.
Add text to the submit button
Add â€œon completeâ€ text to show after a user has submitted the form
Add the email templates
Ensure Email::setAdminEmail(â€™firstname.lastname@example.orgâ€™); 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)
15 May 2009 at 8:00am
I have managed to install and run my site on a live server. The submission was sent once to my email from the UserForm and then I got got this message:
Parse error: syntax error, unexpected '@' in /homez.60/lasergra/www/SS/mysite/_config.php on line 15
What's up? Why did it work one time?
Page: 1 2
|Go to Top||Next >|