Knowledge base | DonorShops.com

How do I create a form that sends the form submission to an email address?

NOTE: A basic knowledge of HTML forms is required in order to use this feature.

There is an API available that allows you to submit form data to an email address.  This tool works well for "Contact Us" forms, for example, where you want your users to fill in a form that sends an email to your organization.

Endpoint: yoursite.donorshops.com/ds/form/submit_to_email
Method: POST

Form Fields

ParamaterRequiredDescription
success_url  Yes The absolute URL you want the form to redirect to after it has been submitted successfully.
fail_url  Yes The absolute URL you want the form to redirect to if the form submission fails for some reason.  For example: the email fails to send or the recaptcha fails.
email_subject  Yes The subject of the email.
email_to  Yes The email address of the individual receiving the email.  Use a comma to seperate multiple email addresses.
email_cc  No Any email addresses you want to be CC'd on the email that is sent, seperated by commas.
email_bcc  No Any email addresses you want to be BCC'd on the email that is sent, seperated by commas.