08-23-2011 12:34 AM
hi. i am trying to send an email using internet toolkit vis. but i have this problem : LabVIEW: (Hex 0x4076) 502 Command not implemented.
please help me to resolve this problem.. thanks a very much..
08-23-2011 04:52 PM
Paria,
Customers have run into this issue before, and the issue was in the security settings of their firewall. You can refer the following forum where the customer had to add Labview to McAfee list of allowed executables.
http://forums.ni.com/t5/LabVIEW/smtp/td-p/309675?requireLogin=False
Regards,
Danny F
12-06-2011 10:47 AM
Hi,
I tried to use this VI, but it doesn't work. There is problem with connection to server (Error 1172). Ports are not bloked, and I made full access for VI file and Labview. Any ideas ?
rafaal.
12-06-2011 11:48 AM
Also I noticed that when I open my vi file, there is an Error - problems with sending commands to the program.
Btw. I use Labview 2010 SP1 & win7.
12-06-2011 12:00 PM
@paria wrote:
hi. i am trying to send an email using internet toolkit vis. but i have this problem : LabVIEW: (Hex 0x4076) 502 Command not implemented.
please help me to resolve this problem.. thanks a very much..
I just had this issue when our IT dept. decided to implement some anti-spam software. Our firewall blocked all e-mails from my computer. There was no way around it. Eriquito provided a VI in the early postings of this thread (on the first page) that works perfectly. Thanks Eriquito!
For g-mail use smtp.gmail.com for the server and port 587. You will have to set up a g-mail account, but at least you won't have to worry about your firewall.
Reese
12-20-2011 01:47 PM
This vi throwing error:
Error 1172 occurred at Error calling method System.Net.Mail.SmtpClient.Send, (System.Reflection.TargetInvocationException: Tatget invocation exception.
Inner Exception: System.Net.Mail.SmtpException: Failure sending mail.
Inner Exception: System.FormatException: An invalid character was found in the mail header.).
Any ideas ?
12-20-2011 02:30 PM
Did you check your mail header? There is a character that the Vi is not liking. Post your VI or a screenshot.
12-20-2011 05:18 PM
I didn't check, becouse my Vi hasn't got any headers
Vi in attachment
12-20-2011 05:33 PM
Is it possible you're using "funny" characters in your password? This might happen if you're on a non-English operating system.
What addresses are you using for the sender address and the recipient?
Did you copy and paste the addresses from somewhere? Perhaps the source has non-printable, illegal characters.
12-20-2011 05:36 PM
I don't know. The only error I got was related to an empty address field. Are the fields filled with valid e-mail addresses? Try the VI attached. It's what you posted I just took the liberty of cleaning up your error handling a bit.
I tested it out and it works for me. Make sure your fields are filled properly.