10-09-2017 05:33 PM
Hello,
I am trying to use the Send Email using SMTP Client example in LabVIEW. I am trying to send through my gmail account.
The settings I have are as follows
Outgoing Mail server
smpt.gmail.com
Port
587
Username
my gmail address
Password
my password
Enable TLS
Enabled
I am getting the following error
Error 363507 occurred at LabVIEWSMTPClient.lvlib:Send.vi:2280003
Please advise
10-10-2017 02:44 AM
Did you google that? www.google.com/q=363507+smtp+error
It seems to be a certificate problem. The first hit isn't very useful.
The second hit, on lava might provide some answers:
https://lavag.org/topic/16601-labview-could-not-verify-the-authenticity-of-the-server/
10-10-2017 08:50 AM
10-10-2017 09:18 AM - edited 10-10-2017 09:22 AM
Here's an old Gmail VI I found on the forums years ago.
As far as I know it still should work. Compare it to what you have.
10-10-2017 09:27 AM
Hello,
It look like I need a CA file. I don't know how to do this right now.
https://lavag.org/topic/7755-sending-file-to-email-with-smtp/
My application is my customer wants to send an email on a failure. We will eventually use their network. I was hoping to try test this function of the code. I use gmail so it is not the end use case.
I guess I will have to lean on their IT department...
Thanks
10-10-2017 10:04 AM
ASTDan wrote:The LAVA link you sent uses https web services. I am using SMTP email.
It's the same error, and probably the same problem. A certificate issue, as you already found out.
10-10-2017 10:05 AM
Have you tried changing "Allow less secure apps" to ON in your Gmail account settings? It introduces a security vulnerability, but could be a temporary workaround while you get your certificates worked out.
10-10-2017 10:08 AM
ASTDan wrote:It look like I need a CA file. I don't know how to do this right now.
I used OpenSSL in the past to do that. Google "openssl create self signed certificate" and you'll find some tutorials.