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.

Form Questions /

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

Send e-mail submitting the form


Go to End


3 Posts   1336 Views

Avatar
Suzanne

Community Member, 37 Posts

13 June 2013 at 12:58am

Hoi Everyone,

I'm trying to get a form to send an e-mail wenn I push the last submit button.

I tried severall things mayby some of you know how I can get it to work.

I have to e-mail the form to myself and also to the person that has filled it in.

Attached you see all of my files.

Thank you,

Suzanne

Attached Files
Avatar
Willr

Forum Moderator, 5523 Posts

15 June 2013 at 8:12pm

Check out the email documentation for how to send an email from SilverStripe - http://doc.silverstripe.org/framework/en/topics/email. Note that to test email, you have to make sure sendmail is setup on your host.

Avatar
Suzanne

Community Member, 37 Posts

17 June 2013 at 8:57pm

Dear Willr,

I have made sure that sendmail works. I tested it with the userdefined forms module. And
I have tried the way they explaine in the document you recommend but it doesn't seem to work.

Any advice? Does it work with you? Can you mayby send your code, so that I can take a look?

Gr. Suzanne