Forum Discussion

juliemorris's avatar
juliemorris
Occasional Contributor
3 years ago

Emailing from Gmail

Hi,   To send emails using a gmail account, TestComplete instructions (https://support.smartbear.com/testcomplete/docs/scripting/sending-email-from-scripts.html) advise that the gmail account needs...
  • juliemorris's avatar
    3 years ago

    To fix this, you just need to create an App password on the Google gmail account.

    Create & use App Passwords
    1. Go to your Google Account.
    2. Select Security.
    3. Under "Signing in to Google," select App Passwords. You may need to sign in. ...
    4. At the bottom, choose Select app and choose the app you using Select device and choose the device you're using. ...
    5. Follow the instructions to enter the App Password. ...
    6. Tap Done.

    This will create a password for you and then you just use your normal gmail account in your code: