LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

email won't go. Peer closes

Spoiler
 

Have confirmed I have a working SMTP connection.  Email of recipient is correct.  When my vi goes to send the email, I get an error message saying the 'network connection was closed by the peer'.  My IT folks are at a loss and so am I.

Ron

0 Kudos
Message 1 of 5
(3,018 Views)

You haven't provided enough information to help.

 

What type of server are you connecting to?

 

What port number are you using to connect to the server?

 

Does this server require SSL?

 

Are you trying to include an attachment?

0 Kudos
Message 2 of 5
(3,003 Views)

Phillip,

Thanks for the reply.  As I figured, it was firewall on my IT side.  It only took them 6 hours to turn it off!

Ron

0 Kudos
Message 3 of 5
(2,997 Views)

Glad you got it figured out.

 

FYI there is this example that can be useful when you need to communicate with an external email server (GMail) or need to use Authentication.

 

GMail using LabVIEW

 

https://decibel.ni.com/content/docs/DOC-2401

 

 

0 Kudos
Message 4 of 5
(2,994 Views)

Phillip,

Yes, I had already checked that out.  As a result of everything looking fairly straight forward, and also that I had it working earlier last year, it didn't make sense.  Once you fingure in IT, everything makes sense!

0 Kudos
Message 5 of 5
(2,989 Views)