Recently I encounter this issue as one of the customer would like to set up Gmail as service provided for SMTP mail in business central.

So I started the regular way how we started setting up SMTP and encounter the following issue.

Initial Setup :-

Did the initial setup with required details and while key in I key in the regular password which used while signing in Gmail.

When I click to Test Email setup and encounter the following error.

Now question is how get over this issue as it is something like you have entered some wrong password and you are getting this issue. After investing some hours I found the crucks for this issue as we need to generate App Password

This issue is encounter because of the Gmail security which required to authenticate the app which is going to use Gmail id.

To do this we need to do following

  1. Sign in your Gmail account which you are using in business central.
  2. Click on Manage your google account
  3. Go to Security.

4. Click on App Passwords to generate the app password (Need to enable 2-Step Verification first).

5. Select the required App and Device as below

6. Click on Generate to generate the App Password and you will get as follows

Now go back to business central SMTP Setup and key in this App password instead of regular passwords.

Now again test the email setup and you will happy to see this message and email.

Email in you inbox

Hope this will help you…

Stay tuned for more…


Discover more from BCAIHUB — Business Central & AI Consulting

Subscribe to get the latest posts sent to your email.

11 responses to “How to Setup SMTP Mail Using Gmail in Business Central”

  1. Sujith Avatar
    Sujith

    Thank you so much Ammolhji. Really helped 🙂

    1. Ammolh Saallvi Avatar

      Welcome..

    2. phu Avatar
      phu

      Thank you so much. It helpful for me :)))

  2. mohamedelseidy12 Avatar
    mohamedelseidy12

    Thanks a lot for help.

    1. Ammolh Saallvi Avatar
  3. […] Source : Ammolh Saallvi Blog Read more… […]

  4. Manikandan Ramesh Avatar
    Manikandan Ramesh

    Thanks a lot

    1. Ammolh Saallvi Avatar

      Welcome

  5. BC365-User Avatar
    BC365-User

    Thank you so much! I’ve been trying to set this up and didn’t succeed until I found your blog!

    1. Ammolh Saallvi Avatar

      Welcome and Happy that it helps you

Leave a Reply

242,411 hits

Discover more from BCAIHUB — Business Central & AI Consulting

Subscribe now to keep reading and get access to the full archive.

Continue reading