03-13-2023 07:25 AM
Hey everyone,
I'm trying to program Labview to send mails for me, but i can't figure out what i'm doing wrong. Can someone her help me figure it out.
It says Error 56 which i have tried to fix, but not with luck.
Here you can see my Block Diagram.
Hope you can help me 🙂
This is the error
Solved! Go to Solution.
03-13-2023 08:20 AM
Have you tried the steps in Error 56 While Sending an Email via SMTP Server?
03-13-2023 08:24 AM
Yes, but i can't find this one:
03-13-2023 08:44 AM
I have used the Send Mail Express VI to successfully e-mail "Warning Messages" when one of my routines detects a possible problem. I'd be happy to test your code, but you only sent a very tiny picture of your code. Please attach the actual VI (or a LabVIEW Snippet that can be opened and run with LabVIEW). It would be best to "Save for Previous Version" if you are using LabVIEW 2022, as many of the "more experienced" LabVIEW developers (including me) don't necessarily upgrade quickly.
Bob Schor
03-13-2023 08:53 AM
Thank you - i have attached the VI here
03-13-2023 09:26 AM
Is your server address correct ?
Normally an server address does not have a @ in it. it might be smtp.gmail.com
03-13-2023 09:47 AM
Where to find the server address? because i tried with smtp.gmail.com but that didn't work either
03-13-2023 09:54 AM
Something like this?
03-13-2023 10:16 AM
Yes, you need to use smtp.gmail.com
And then you need to setup your account to allow for sending email from a program.
https://support.google.com/accounts/answer/185833?hl=en&ref_topic=7189145