annuler
Affichage des résultats de 
Rechercher plutôt 
Vouliez-vous dire : 

Error 363513 Occurred when using smtp to send email

Résolu !
Accéder à la solution

Hi,

I'm trying to send email using SMTP. I getting the error of Error 363513 An error occurred while sending data on the network. How I can solve it? I've been struggling with this for quite a while.

LabVIEW 2016

STMP server: smtp.gmail.com

port: 25

 

Tout télécharger
0 Compliments
Message 1 sur 8
8 194 Visites
Solution
Accepté par l'auteur du sujet chiching

Hi chiching.  Do you know whether smtp.gmail.com will accept a connection on port 25?  Many email servers will not.

 

Do you know whether you can make an outgoing connection on port 25?  Many networks (and most residential ISPs) block outgoing connections on port 25.  Unfortunately the network I am currently on blocks outgoing port 25 connections, so I can't test smtp.gmail.com for you 😉

 

You can try using telnet to confirm that you can make a connection:

https://www.port25.com/how-to-check-an-smtp-connection-with-a-manual-telnet-session-2/

I wouldn't bother trying to make a connection with LabVIEW until you are able to send an email with telnet.

 

Hope that helps.

 

Matt

0 Compliments
Message 2 sur 8
8 144 Visites

Hi Matthew,

Thanks for your reply. But I had tried for other port also having an error

 

Port 587: Error 363513, An error occurred while sending data on the network.

Port 465: Error 56, The network operation exceeded the user-specified or system time limit.

 

 

0 Compliments
Message 3 sur 8
8 134 Visites

Hi chiching.  I would try telnet to connect to gmail on 587 following the sequence suggested in section 7.2 here:

https://gerardnico.com/wiki/email/smtp_telnet

 

If you get responses from the server that look like what is described, that will at least confirm you are connecting to the server.  You may have to set the TLS switch to actually send via gmail, I don't know.

 

Matt

0 Compliments
Message 4 sur 8
8 114 Visites

Hi Matt,

 

My problem had been solved. I just set my port number to 589 and enable the TSL at the open handle VI.

 

Thanks for advice 🙂

0 Compliments
Message 5 sur 8
8 112 Visites

Hi, I have the same problem with you and tried your solution, but it doesn't work. I use gmail server: smtp.gmail.com. With port number 587 I have 363513; with 589 and TSL true I have error 363500. Isn't it odd?

0 Compliments
Message 6 sur 8
8 050 Visites

Hi Noriker,

Have you set the TLS to true?

Error 363513 is due you network connection problem. Try check your internet network.

Message 7 sur 8
8 036 Visites

Thank you so much for your reply. My problem is resolved. I have to turn TLS off to make it work. Must be different network settings? Many thanks.

0 Compliments
Message 8 sur 8
8 028 Visites