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.
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.
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.
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?