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: 

what this error means ?

hi all

 

What is this error means: 

 

TCP Write in NI_SMTPEmail.lvlib:SMTP Email Send Message (Small).vi->FYP_6.vi  

??

 

thanks

0 Kudos
Message 1 of 6
(2,143 Views)

Hi boontart,

 

that error occured in a SMTP function inside your FYP vi...

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 6
(2,137 Views)

Hm, it also states that the error is occurring within TCP Write. So i wonder if you have a valid TCP connection you pass to the SMTP functions....

 

Norbert 

Norbert
----------------------------------------------------------------------------------------------------
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it.
0 Kudos
Message 3 of 6
(2,121 Views)

Thanks Gerd and Norbert.

 

i didnt get the error anymore.

 

But i got a new error:

 An input parameter is invalid. For example if the input is a path, the path might contain a character not allowed by the OS such as ? or @.

 

What does it mean ??? i cannot put @ at the recipient input ?? 

I attached my code below. Hope u guys can help me out.

 

Thanks

 

SendEmail.png

 

0 Kudos
Message 4 of 6
(2,089 Views)

Hm, i am not sure if the '@' symbol is really the issue.

Your string constants seem to include tabulators. Please remove them.

 

Norbert 

Norbert
----------------------------------------------------------------------------------------------------
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it.
0 Kudos
Message 5 of 6
(2,071 Views)

THANKS. 

 

It works. thanks alot 😄

0 Kudos
Message 6 of 6
(2,063 Views)