LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Email options

Solved!
Go to solution

I use Gmail to send email alerts for some test stations.  One station did not send an email and when looking into the issue I saw an email in that account that Google no longer supports SMTP for less secure apps.  So now I am looking for another method to send alert emails from test stations.  I am currently using LabVIEW 2019 SP1.

 

What is everyone doing to get around this?

 

Bryan

0 Kudos
Message 1 of 3
(2,013 Views)

If you are on Windows: Using .Net System.SmtpClient assembly. On other platforms using SystemExec to call the platform specific mailer app.

 

But the SMTP Email VIs should be possible to made to work with TLS if you use the according TLS configuration VI and specify the correct TLS port number usually 443, in the server address, eg. hostname:443. Fiddling with the CA certificate file and the possible other parameters of the Config TLS function can be however a frustrating exercise.

Rolf Kalbermatter  My Blog
DEMO, Electronic and Mechanical Support department, room 36.LB00.390
Message 2 of 3
(1,993 Views)
Solution
Accepted by topic author _Bryan

Thanks for the reply.  The wording of the email from Google is below.  It sounds like Google Workspace/Cloud will keep working for a little longer.

 

It turns out to be easier than I thought.  Turn on 2-Step verification and then create an App Password.  Use the App Password instead of the account password to send the email.  I found a thread over on stack overflow about this issue.

https://stackoverflow.com/questions/72480275/is-there-a-work-around-google-disabling-less-secure-app... 

 

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.

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.

0 Kudos
Message 3 of 3
(1,964 Views)