11-06-2014 04:40 AM
Hi,
I am using NI_SMTPEmail.lvlib:SMTP Email Send Message.vi to send emails. But I am getting the following error.
"TCP Read in NI_SMTPEmail.lvlib:SMTP Email TCP Read xTP Reply.vi:1770018->NI_SMTPEmail.lvlib:SMTP Email Command.vi:3560017->NI_SMTPEmail.lvlib:SMTP Email Open Session.vi:3760009->NI_SMTPEmail.lvlib:SMTP Email Send Message Charset.vi:4870003->NI_SMTPEmail.lvlib:SMTP Email Send Message.vi:4570002".
Can anyone please tell me what it is actually?
Also the LABVIEW context helps shows that labview no longer supports this vi,use express vi instead.
Thanks,
Iswarya Venkataraju
11-06-2014 02:30 PM
What SMTP server are you trying to use for sending an email? From the look of your message the VI is trying to connect to the server but failing.
If the labview context is showing the VI as obsolete then you should probably move away from it. I have attached the version that I am currently using to send Emails with GMail, this should work with most SMTP servers although there willl need to be some fine-tuning of the relevant information.
11-09-2014 11:09 PM - edited 11-09-2014 11:20 PM
Hi,
Thanks for the reply. I use my company's SMTP server. There was some network issue. Tats why I wasn't able to send mail.
I am facing one more issue.
I am using webbrowser control in my email sending window for body of the email. So the content of the body will be read from a html file and it will be displayed in webbrowser. Sometimes this webbrowser control gets blanked out i.e it is not visible only(refer the attachment) and this happens only when I run the executable(it works fine in development).
Is there any internet setting which I have to do or is it something else?
Could you please help me out?
Thanks