In this guide, we have explained the step by step directions to setup Google OAuth SMTP Configuration in PreOrder Controller .
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.
With this setup, you can ensure that Preorder-related notifications, such as Preorder Product Subscribed , Preorder Product Purchased and E.T.C from your own email engine.
Enhancing your brand’s credibility and customer experience.

To configure Google OAuth SMTP for your Preorder controller store, navigate to the SMTP Config section. From there, select Mail Config Type as Google OAuth to set up your custom email server.
Here you have to enter the details of your own SMTP like Client ID, Client Secrete ,Email from and other relevant details.

How to get Google OAuth SMTP details for Preorder controller?
To get the Google OAuth SMTP details simply visit Google console and create a new project .

Then go to API & Services and navigate to Library and search for Gmail API and enable it.

Next, under Navigation Menu>>Api and services >> Libraries select Gmail API. For Data Access, choose User Data and click Next to proceed with the configuration.

After that you have to click on create credential to get client id and client secret .

In the next step, enter a name for your API under App Information and provide the required details. Once done, click Save and Continue to proceed.

On the OAuth Client ID page, select Application Type as Web Application. Enter the JavaScript origins URL provided below, along with the redirect URL.

Authorized JavaScript origins URL : https://apps-sp.webkul.com
Authorized redirect URL : https://apps-sp.webkul.com/preorder/member/smtp/save/config?shop= {shop_domain}
Example : {Shop_domain} like :Preorder controller-14.myshopify.com
After entering the given tokens Click Create to generate your Client ID.

Here after creating this you will get your client id there click on Done.
After clicking Done, you’ll receive your Client ID and Client Secret needed to configure your Google OAuth SMTP. You can copy your Client ID and Client Secret from here .

Click on save button to continue .
After completing the previous steps, you need to create or add a test user to configure your Google OAuth SMTP.
To do this, click on OAuth Consent Screen, then select Add Test User. Add the test user from there.
Now, simply go to your SMTP configuration page, enter the Client ID, Client Secret, and the remaining details, then click “Save” to configure your Google OAuth SMTP.

NOTE: When configuring Google OAuth for your SMTP server,
please be aware that any emails sent before the configuration is complete will still be processed by your previous SMTP host server.
Once you finalize the Google OAuth SMTP configuration, the newly configured Google OAuth SMTP server will send all future emails.
Support
If you need any kind of support/consultancy then please raise a ticket at http://webkul.uvdesk.com/ or drop a mail at support@webkul.com
Thanks for reading this blog!!! 😇

Be the first to comment.