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.

Archive /

Our old forums are still available as a read-only archive.

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

Sending a UserDefinedForm with a custom email that goes to the sender


Go to End


1883 Views

Avatar
Pixel

Community Member, 78 Posts

2 September 2008 at 11:24pm

Edited: 02/09/2008 11:38pm

Hi,
I have an application form that a user fills out which sends to a specific email ie admin@mysite.com.
Now obviously that form is set to send on submission to the recipient, however i also need a confimation email sent to the senders email address with specific instructions, not including the forms content.

Any ideas how this is possible.

I know that with the newsletter form that it sends a confimation email to the subscriber and this can be modified in cms/templates/email/SubscribeEmail.ss but how could I have a userdefinedform that sends 2 different emails, one to the sender and recipient?