11-16-2022 01:28 AM
Not able to send mail using SMTP server by using example vi of SMTP with Gmail credentials. Anybody who recently tried SMTP and face the same issue?
11-16-2022 05:02 AM - edited 11-16-2022 05:04 AM
I will use the search function to answer the question:
Yes, this person did. Exactly the same issue: https://forums.ni.com/t5/LabVIEW/Error-363500-Failed-to-connect-to-the-specified-hostname/m-p/416516...
11-16-2022 05:33 AM
Without having more details it would be hard to help (things like code, which errors you're seeing, etc).
I can say that Google disabled the option to send email using SMTP using the account password at some point and forces people to use 2FA and then you can create a separate app password you can use for your application:
https://support.google.com/accounts/answer/185833?hl=en
https://groups.google.com/g/androidscript/c/4FA_E7MQ3fc
I'm guessing this is your issue, but that's just a guess.