I am trying to add an email notification in the post form to send an email notification after submitting the post. when I submit a new form I did not receive the notification. Please Help.
You will not be able to access it since our website accessed using VPN. If it is ok, I will share with you a copy of the website taken by the Duplicator plugin.
This wouldn't help because I wouldn't be able to send mails from my localhost. What you can do is to test if your site can actually send out emails.
Go to your form on the backend and edit it. Scroll to the notifications section and edit one of your notifications. There should be an option to send a test mail under the TinyMCE editor in the notification.
Just enter your email and send the test mail and let me know if you get it. If you don't get this means that the site isn't able to send out emails.
Secondly just to verify are you able to get emails from the site when a new user is created from wordpress itself ? Try creating a new user by going to Users->Add New and set it so that the user gets emailed the password.
thank you for your support, I am able to receive the emails now.
I have another question,
In my form, the user should select one organization from the dropdown list. then, after form submission, the email notification should be sent to the admin person that belongs to the selected organization.
Example,
If the user select Org1 the notification should be sent to the email admin@org1.com
if the user select Org2 the notification should be sent to the email admin@org2.com
In my form, the user should select one organization from the dropdown list. then, after form submission, the email notification should be sent to the admin person that belongs to the selected organization.
You can use a conditional trigger for your email based on the custom field value. See Screenshot.
So you can set the conditional to when the user selects a specific value on the checkbox and then you can set the email to trigger to that email.