05-04-2010 10:12 AM
Hi, I am trying to email a jpg image but I am getting this error. I checked the virus software and turned it off.no help. Well I even simply created a new vi just to email a jpeg image but this did not worked. Restarted the PC not helped either. My ver. is 8.2.1 running on win 7. Visa run-time is 4.5.
LabVIEW: The system caused the network connection to be aborted.
Thanks
05-04-2010 11:49 AM
05-04-2010 12:23 PM
05-04-2010 03:07 PM
05-05-2010 12:53 AM
Ok, I checked and found out that our server is using port 587 for outgoing mails. So in this case what should I do?
Thanks
05-05-2010 09:37 AM
05-05-2010 09:45 AM
Thank you for your reply...
For what reason I do not know but I can not use .NET. I am using win7 but when I run the vi it just says I need .Net 1.1 or later. MY labview version is 8.2.1
Now I try to use OGIC smtp; now I get an error of #6. I think this is file I/O error. But the file exists and somehow I am getting this error........
05-05-2010 10:25 AM
hakanka wrote:Thank you for your reply...
For what reason I do not know but I can not use .NET. I am using win7 but when I run the vi it just says I need .Net 1.1 or later. MY labview version is 8.2.1
Windows 7 comes with .NET 3.5, so you should already have .NET. The gmail example was written using .NET 2.0, but .NET 3.5 includes .NET 2.0. 8.2 does not officially support .NET 3.5, so it's possible that's the issue. I don't have Windows 7 here at work so there's no way for me to test it. I can do it at home, or if someone else has Windows 7and they're willing to try it, please chime in.
Now I try to use OGIC smtp; now I get an error of #6. I think this is file I/O error. But the file exists and somehow I am getting this error........
Have you tried sending the email without an attachment? Do you know if your SMTP server requires SSL or TSL?
05-06-2010 01:53 AM
Yes I have tried sending an email without the attachment but I still get an error #7 which is fNotFound. Also server is ok here is the response I get;
SERVER: 220 mail.domain.com ESMTP IceWarp 9.1.0; Thu, 06 May 2010 09:46:20 +0300
CLIENT: HELO localhost
SERVER: 250 mail.domain.com Hello localhost [xx.xxx.xx.xxx], pleased to meet you.
CLIENT: auth login
SERVER: 334 VXNlcm5hbWU6
SERVER: 334 UGFzc3dvcmQ6
SERVER: 235 2.0.0 Authentication successful
CLIENT: MAIL FROM:<hakan@xxxxxx.com>
SERVER: 250 2.1.0 <hakan@xxxxxx.com>... Sender ok
CLIENT: RCPT TO:<hakan@xxxxxx.com>
SERVER: 250 2.1.5 <hakan@xxxxxx.com>... Recipient ok
I do not understand what is going on...
05-06-2010 02:23 AM
Ok I now found the what is wrong. Since I am using win7 and as result win7 does not let a file written on c:\ drive. In the code, a tmp file is being created in c:\ drive and therefore the error.
So now I tried I can send text files and read it but when I try to send a jpeg file and when I check my email I can not open it?
I am at the last stage of my code I believe.After this problem I will be done for sure.