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 [v0.2.0]: Not sending out email


Go to End


3 Posts   1885 Views

Avatar
Media Contour

Community Member, 33 Posts

29 August 2009 at 11:50am

I've created a form and when the form is submitted it seems to work. It saved the information to the database and displays the thank you for submitting message that I've added. One thing it doesn't do is send an email.

What am I doing wrong?

Avatar
baba-papa

Community Member, 279 Posts

30 August 2009 at 7:55pm

Sounds like a server problem to me. I would try to send an email via a script and see if the email() function works right.

Avatar
patjnr

Community Member, 102 Posts

30 August 2009 at 9:59pm

hie

i had the same problem once & i think yo dont have a From in yo email ()function emails without a from a regarded as SPAM

try this,

<=====

put the following code in your _config file

Email::setAdminEmail('name@domain.com');

this should act as the From address.
multiple recipient are also to be separated by a comma not semi-colon

maybe it will work

hope it will help you.