Problem
Sometimes if you are using Google SMTP or GMAIL SMTP in SSIS Send HTML Email Task and suddenly you start getting below error.
Test Failed - The SMTP server requires a secure connection or the client was not authenticated.
The server response was: 5.7.0 Authentication Required.
Cause
From May 30, 2022, Google no longer supports the use of third-party apps or devices which ask you to sign in to your Google Account using only your username and password.
Important: This deadline does not apply to Google Workspace or Google Cloud Identity customers. The enforcement date for these customers will be announced on the Workspace blog at a later date.
For more information, continue to read.
Less secure apps & your Google Account - Google Account Help
Solution
Create the application-specific password for the ZappySys App and need to use that App password in the SMTP connection.
Accounts require an application-specific password for less secure app access. Learn more
https://support.google.com/accounts/answer/185833
Create & use App Passwords
If you use 2-Step-Verification and get a "password incorrect" error when you sign in, you can try to use an App Password.
- Go to your Google Account.
- Select Security.
- Under "Signing in to Google," select App Passwords. You may need to sign in. If you don’t have this option, it might be because:
- 2-Step Verification is not set up for your account.
- 2-Step Verification is only set up for security keys.
- Your account is through work, school, or other organizations.
- You turned on Advanced Protection.
- At the bottom, choose Select app and choose the app you using > Select device and choose the device you’re using > Generate.
- Follow the instructions to enter the App Password. The App Password is the 16-character code in the yellow bar on your device.
- Tap Done.
- That's it use that app password in the SMTP Connection as Password and you will be able to Test Connection Successfully and also able send the email.
Contact Us
If you have more question(s) feel free to contact us via Live chat or email at support@zappysys.com
Comments
0 comments
Please sign in to leave a comment.