LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Sending email using labview 8.6

I am trying to send an email using labview 8.6.But I am getting error 1172  when I try to do so.

 

Kindly let me know what modificatons i should do to the port an d server settings.

 

I have taken the code from forum only

 

I am posting a renamed version of it.

 

gmail-1 is its actual name in forum

 

kindly suggest me what I should do

 

thanks

0 Kudos
Message 1 of 9
(3,487 Views)

I had no problems using it. What are you using for the sender's email address? Is it a gmail account? Are you sure you're entering the correct authentication information? You should place an error out indicator so you can see which node is generating the error. Or, run the code in highlight mode so you can see which node is generating the error.

0 Kudos
Message 2 of 9
(3,473 Views)

Dear sir,

I have done as you said and observed that the error is coming at the final node "smtp client-send-message"

I did not installed any .NET or any other programs.

 

 

A screen shot of the error along with the error node is attached for your reference.

 

 

thanks

0 Kudos
Message 3 of 9
(3,451 Views)

That appears that the connection is being blocked. Do you have a firewall? Check to see if it's blocking that port.

0 Kudos
Message 4 of 9
(3,422 Views)

I have firewall on my system but it is not activated.

I activated it and added the port 587 to allow , even then the same error is coming.

What else might have gone wrong here.

 

sorry to bother you but kindly let me know what has to be done further.

 

thanks.

 

0 Kudos
Message 5 of 9
(3,399 Views)

You need to check basic network connectivity, as it appears that's where your issue is. Your screenshot doesn't show it, but I'm assuming you are using smtp.gmail.com as the SMTP server? Have you tried a telnet connection to it? Open up a command window (or terminal window on Linux) and try the command "telnet smtp.gmail.com 25". Does that connect? How about "telnet smtp.gmail.com 587"? If you cannot make a connection then you have a basic connectivity issue. Are you inside a corporate network? Are you sure there isn't another firewall somewhere else down the line?

0 Kudos
Message 6 of 9
(3,382 Views)

Thanks for the reply.

I have checked bothh the commands

 

"telnet smtp.gmail.com 25", "  telnet smtp.gmail.com 587"  I got connect failed message.

As you have guessed ,I am in a research centre and certainly , there is  firewall activated somewhere on the intranet servers.

 

 

 

i will try this program at home with my Broadband connection.

 

But the problem is the process parameters and all the data I want to communicate is present in lab only.

 

So what should i do to fix this proble.

 

Thanks.

0 Kudos
Message 7 of 9
(3,365 Views)

You have to talk to the network administrators.

0 Kudos
Message 8 of 9
(3,333 Views)

I am on it .I will get back to you soon.

 

thanks for all the support.

 

 

Thanks

0 Kudos
Message 9 of 9
(3,320 Views)