How To Receive an email when someone submit webform ?

  0 comments
Share

In the previous blog 'Contact form with conditional fields using webform' we have explained about how to create contact form using webform and apply condition on its form field. In this blog we are going to explore about how to receive an email when someone submits the form build by webform.

Setting up emails which will be receiving the form submissions.

  • Click on the "E-mails" sub-tab. Here it says that we are "Currently not sending e-mails, add an e-mail recipient below".

    Click email tab

  • Add your email id in Address field

    Add email Image

  • You can add multiple email seperated by comma for receving the notification like

    Multiple Email Image

  • Configure E-mail header details and E-mail template as your requirement.

    Email header details

  • Click on Save e-mail settings button.

Testing the email functionality

Now, I'll fill it out as an anonymous user to test our new settings

  • Your name: Rajan Kumar
  • Email id: rajan2@example.com
  • Qualification: XYZ
  • Work Experience : Experience
  • Years : 2 years

Now Checking our email, we have the new mail with the submitted value, the subject in the subject line, the submitted date and time, who submitted the form, the form values, a link to view the submission on the site, and the IP address of the user who submitted the form.

Sending form submissions to different email addresses based on "Category"

Suppose a different situation where we have to send form submissions to different email addresses based on "Category". Take a field 'Department' If a user submits the form and chooses the "Human Resourses" in Deparment category, Only our HR person will receive the submission with "HR Inquiry" in the subject line.

Take a look on blog Send Webform result to different E-mail addresses regarding it.

Add new comment