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.

All other Modules /

Discuss all other Modules here.

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

User Forms - Email Recipients not working


Reply


7 Posts   1883 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

Maybe here: http://www.silverstripe.org/all-other-modules/show/280550?start=0#post280671

Hope it helps,
Juan

Avatar
Willr

Forum Moderator, 5513 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, 5513 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.