In this guide, we will explain how to configure SMTP and Google OAuth 2.0 in Chatwhizz App.
This feature allows you to set up your own SMTP to send emails directly from your mail server, giving you full control over the communication process with your customers.
SMTP Configuration in the App
Admin can manage the SMTP Configuration from the Email Configuration section of the dashboard.
Follow the procedure:
To visit the “SMTP Configuration” section of the Dashboard>> Click on “Email Configuration” then SMTP Configuration.
Here, you can manage the SMTP Configuration details from your end.
Once you click the “SMTP Configuration”, a page appears to you where you will manage mail details. Retrieve all necessary information from the Email Engine you are using.
In this way, you can manage emails that are sent from Chatwhizz. Now, you can configure the “ Host”, “email from”, and “reply-to” sections as per his/her choice.
Once you set the mail details from your end, you can test it by sending the test mail.
Google OAuth 2.0 Configuration
Google OAuth 2.0 allows you to set up your own SMTP to send emails directly from your mail server, giving you full control over the communication.
To configure Google OAuth 2.0 for your account, navigate to the SMTP Config section. From there, select Mail Type as Google OAuth 2.0 to set up your custom email server.
Here you have to enter the details of your own Google OAuth 2.0 like Client ID, and Client Secret.
How to get Google OAuth 2.0 SMTP details?
To get the Google OAuth 2.0 details, visit Google Console and create a new project.
Next, navigate to API & Services, open the Enabled API & Services, search for Gmail API, and enable it.
Afterward, go to the OAuth Consent Screen, select the External user type, and click Create.
Next, fill the app information, provide the developer’s contact details, and click Save and Continue.
Once the app information is completed, the next step is to search for Gmail API, and for that, you can use ‘.send’. Follow the steps outlined below, select the checkbox, and update accordingly.
Next, click on Create Credentials, and then select OAuth Client ID.
Enter the application type i.e. Web Application and name, then click Create.
After clicking Create, your Client ID and Client Secret will be generated and ready for use.
NOTE:
You must add only one Web Client in one project.
You can now enter the Client ID and Client Secret in Google OAuth 2.0. Click Verify and then Save. After completing this setup, your emails will be sent using Google OAuth 2.0.
NOTE:
If both SMTP and Google OAuth 2.0 are selected, the email will be sent using the option that was selected most recently.
Support
If you need any kind of support/consultancy then please raise a ticket at http://webkul.uvdesk.com/ or drop a mail at [email protected]
Thanks for reading this blog!!! 😇
Be the first to comment.