This article applies to: InventoryControl v6 & v7, MobileAsset v7, MobileAsset Web v6 & v7, PackageTracker, WaspTime v6 & v7, AssetCloud, and InventoryCloud.
============================
June 1, 2022 Note from Google's article
https://support.google.com/accounts/answer/6010255?hl=en#more-secure-apps-how&zippy=%2Cuse-more-secure-apps%2Cif-less-secure-app-access-is-off-for-your-account%2Cif-less-secure-app-access-is-on-for-your-account
"To help keep your account secure, 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. " Wasp has no way to change this.
============================
If all other troubleshooting attempts have failed to allow the program to send email using your own email server, as an alternative you can set up a free Google email account at http://gmail.com , then configure the Wasp program with the following server information:
server: smtp.gmail.com
port: 465
SSL: Yes
Use Credentials: Yes
login: <your gmail account>@gmail.com
password: <your gmail password>
If you do not have the option for "access for less secure apps", you will need to enable 2-factor authentication in your Gmail account so that shows up.
https://support.google.com/accounts/answer/185833
When creating your App Password, the selections should be "Mail" on my "Windows Computer". It creates a random password, and directs you to enter that instead of your normal account password into the application. Copy the 16 digit password and paste it into the SMTP Password box in the Email settings. If you are using AssetCloud or InventoryCloud, click Validate SMTP again, and it should return the message "SMTP settings validated successfully". Otherwise, save the settings and attempt a test email again.
535 errors indicate incorrect SMTP settings which must be corrected. The usual resolution for the error below is to create and use a one-time-use App Password as mentioned above.
2020-05-28 08:30:29.117 63 ERROR | SmtpException in SendMail: https://support.google.com/mail/?p=BadCredentials k20sm5436885qtu.16 - gsmtp (535).
535-5.7.8 Username and Password not accepted. Learn more at | 535 5.7.8 https://support.google.com/mail/?p=BadCredentials k20sm5436885qtu.16 - gsmtp