Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

All other Modules /

Discuss all other Modules here.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

User Forms - Email Recipients not working


Go to End


7 Posts   3143 Views

Avatar
Media Contour

Community Member, 33 Posts

3 April 2010 at 7:53am

Edited: 08/04/2010 1:27pm

I have the User Forms modules intalled on a site. And it seems to work fine. Fill out the form and it shows the thank you message and it saved the submission in the database. The only problem is that its not sending out emails to the recipients added in the admin.

How do I begin to troubleshoot this?

Avatar
Juanitou

Community Member, 323 Posts

4 April 2010 at 6:06am

Avatar
Willr

Forum Moderator, 5523 Posts

7 April 2010 at 4:51pm

Also check your mail logs on your server (if you have access to them) you might find something like its not going through because your server doesn't have mail setup correctly or you didn't define a from address on the host.

Avatar
Media Contour

Community Member, 33 Posts

8 April 2010 at 4:02am

Issue solved.

When adding a new recipient it looks like the Subject and From fields MUST be field out.

Avatar
Media Contour

Community Member, 33 Posts

8 April 2010 at 1:28pm

Is there a way to validate the form on the Admin so that when someone forgets to add a Subject or From it warns them.

Avatar
Willr

Forum Moderator, 5523 Posts

8 April 2010 at 4:32pm

There is a getCMSValidator which I think can invoke validation on forms in the cms like popups. That might be the best thing to add to the module to prevent people from forgetting.

Avatar
Media Contour

Community Member, 33 Posts

9 April 2010 at 3:41am

Where do I add this code in the userforms module? Thanks for the help.