Email settings

Email settings settings of Booknetic. Multi-purpose Appointment Booking Plugin For Wordpress.


In order for email notifications to work properly, you must first set notifications up correctly.

Two methods are used for sending email notifications: WordPress Mail and SMTP.

The most preferred of these is WordPress Mail because there is no need to make any settings. If you just add [email protected] to the email section, it will work without any problems. This method cannot be used on servers that do not support PHP Mail.

appointment confirmation notification

The other method is SMTP. Booknetic supports SMTP for sending emails. If you type in your own SMTP information, emails will be sent via your SMTP.

How to set up Gmail SMTP?

Most people prefer to use SMTP to send their emails. Because in shared hosting, the email services of the servers are not very useful. With the removal of Google's "Less secure apps" permission, Gmail SMTP usage can only work through the API. In this tutorial, we will show you how to make Gmail SMTP compatible with Booknetic.

  1. Go to Google Console and create a new project.
  2. It may take a few seconds to create the project. After the project is created, select the project by clicking the "Select project" button.
  3. Select Library from APIs & Services section in the menu.
  4. Search for Gmail API and Enable
  5. Then navigate to the OAuth consent screen
  6. Select External as the User type and click the Create button.
  7. You can write anything you want in the app information section.
  8. Do not forget to switch the Publishing status from Testing to In production.
  9. Now as you have completed the above process, we can create credentials. After clicking Create Credentials in the Credentials section, select OAuth client ID
  10. In this section, you need to choose Web Application as the Application type.
  11. In the Authorized redirect URI part, we need to write the redirect URI of the service where we will include our SMTP information.
  12. After you set the redirect URI properly on the Google Console, click on the SAVE SETTINGS in the further steps. 
  13. Now the credentials are ready! You can now connect your Gmail to send emails over the Gmail SMTP. Copy the API Credentials.
  14. Paste your API credentials on the plugin and click on the Authorize button.
  15. Sign in with your Google account which is you want to send your emails.
  16. Since the APP you created is not verified by Google yet, you need to click on the "Show advanced" and then "Go to (unsafe)" button to log in to the Google account via your created APP.
  17. Click on the Continue button and allow the APP to send emails over your account.
  18. Now everything is ready! You can send your Booknetic email notifications by using the Gmail SMTP. Put yourGmail address as a Sender E-mail. Booknetic notifications will be sent over the Gmail SMTP.

Why can't booknetic send emails?

If your email notifications are not working and you didn't receive emails while sending a test email, you need to check the following possibilities.

  1. You have selected the WordPress Mail method, but the sender email address you have written does not contain the domain name. (Which domain you are using the plugin in, you need to write that domain name as sender email.)
  2. You have selected the WordPress Mail method, you have typed sender email correctly, but your hosting provider does not have a PHP Mail feature, or your hosting plan does not have this feature.
  3. You have selected the SMTP method, but you incorrectly set the SMTP settings.
  4. You have selected the SMTP method, your settings are correct, but your hosting provider does not support SMTP.
  5.  You have selected the SMTP method, but your hosting only allows its own SMTP server. (At the same time, some hosting providers may not support Google SMTP.)