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.

Form Questions

Send e-mail submitting the form


Reply

3 Posts   441 Views

Avatar
Suzanne

13 June 2013 at 12:58am Community Member, 37 Posts

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

15 June 2013 at 8:12pm Forum Moderator, 5511 Posts

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

17 June 2013 at 8:57pm Community Member, 37 Posts

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