LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

error 1172

Solved!
Go to solution

 

Hi,

 

I am having the attached error. I have a labview module trying to send an email with gmail. It works fine when I am home using my local wireless network.

Now I am in a public library, and connected to the public network. And when the program is running I am getting that error.

I am guessing that windows 7 is using the public settings which blocks access thru port 587 I guess, not sure.

 

Any help?

 

                     

                     

 

 

 

 

 

 

0 Kudos
Message 1 of 11
(4,321 Views)

It sounds like their Firewall may be blocking it.

-----------------------------------------------------------------------------------------
Reese, (former CLAD, future CLD)

Some people call me the Space Cowboy!
Some call me the gangster of love.
Some people call me MoReese!
...I'm right here baby, right here, right here, right here at home
0 Kudos
Message 2 of 11
(4,314 Views)

Any idea what exactly to fix?

 

0 Kudos
Message 3 of 11
(4,311 Views)

I would say talk to the IT person at the library, but I don't know how self-contious you are about uncontroled laughter at your expense.Smiley Very Happy  My suggestion would be, don't run it at the library.  Is this for school?

-----------------------------------------------------------------------------------------
Reese, (former CLAD, future CLD)

Some people call me the Space Cowboy!
Some call me the gangster of love.
Some people call me MoReese!
...I'm right here baby, right here, right here, right here at home
Message 4 of 11
(4,309 Views)

Is there away in labview to check is port 587 is open or alowed or usable before sending my email? This way, I will be sure that I will not get this error if that port is locked....

0 Kudos
Message 5 of 11
(4,300 Views)

You could use the TCP/IP functions to open a connection on that port. If the Open function returns an error then you know that port is not open.

0 Kudos
Message 6 of 11
(4,296 Views)

@agyna wrote:

Is there away in labview to check is port 587 is open or alowed or usable before sending my email? This way, I will be sure that I will not get this error if that port is locked....


You could check the port using the TCP/IP functions as Smercurio has suggested or you could handle the error if it does occur.

-----------------------------------------------------------------------------------------
Reese, (former CLAD, future CLD)

Some people call me the Space Cowboy!
Some call me the gangster of love.
Some people call me MoReese!
...I'm right here baby, right here, right here, right here at home
0 Kudos
Message 7 of 11
(4,293 Views)

Thanks.

0 Kudos
Message 8 of 11
(4,284 Views)

This is what I am trying to do to check the port connection using localhost, but it I am receiving an error.

I am just home so everything should work fine.

 

Some help needed.

 

 

0 Kudos
Message 9 of 11
(4,280 Views)
Solution
Accepted by agyna

Try this.

 

 

tcp port test.png


CLA CTAChampionI'm attending the GLA Summit!
Subscribe to the Test Automation user group: UK Test Automation Group
0 Kudos
Message 10 of 11
(4,271 Views)