03-07-2021 05:07 AM
Hello dear community I have the following problem:
I use the Example VI: Send Email using SMTP Client
However, I always get the following error message:
Error 56 on LabVIEWSMTPClient.lvlib:Send.vi:2280001
Possible causes:
LabVIEW: The network operation has exceeded the time limit specified by the user or system.
Complete call chain:
LabVIEWSMTPClient.lvlib:Send.vi:2280001
Send Email using SMTP Client.vi
I use a gmail address as the email address.
As SMTP address I use: smtp.gmail.com
And as port I use: 465
My firewall allows all access, also I have enabled third party apps in my Gmail account.
Unfortunately it still does not work.
It would be very kind if someone could help me.
03-07-2021 08:58 AM
Several years ago, I tried to develop a monitoring program that would e-mail a list of recipients if "something goes wrong". During development and testing, I recall trying to use gmail as my outgoing SMTP server, and having it not work. As it happened, my organization (on whose network I was running) had its own SMTP server that used Port 25, and this worked for us.
I think I remember reading that Google had put some restrictions on user using gmail as an SMTP server. I remember trying "various things", then giving up when the "internal" method worked.
Bob Schor