From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Send Email using SMTP Client (Labview Example 2016) Error 56

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.

0 Kudos
Message 1 of 2
(1,155 Views)

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

0 Kudos
Message 2 of 2
(1,110 Views)