LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

error in sending mail Error=-13

I am using INET_SendMail function to send email. I get -13 back which is error in sending mail. I know my SMTP server, email address is right.
Any suggestions?
Thank you very much in advance.
Thanks.
CVI 2010
LabVIEW 2011 SP1
Vision Builder AI 2011 SP1
0 Kudos
Message 1 of 7
(3,801 Views)
Hello

Try using the sendmail example that is included. Its a simple application, so it might help you track down the problem faster.You can find the example under ..\CVI\cviinet\samples\sendmail.

I hope this helps

Bilal Durrani
NI
Bilal Durrani
NI
0 Kudos
Message 2 of 7
(3,801 Views)
Thanks.
I tried that already but It gives me same error. -13.
Any other suggestions?
Thanks a lot!
Sheetal
Thanks.
CVI 2010
LabVIEW 2011 SP1
Vision Builder AI 2011 SP1
0 Kudos
Message 3 of 7
(3,801 Views)
Try using MS Outlook and sending an email thru that. just to check whether the smtp server is ok.

Also, just for troubleshooting, you can set up a smtp server on your own machine, just to see if the program works ok locally. You can download Postcast for free, and this sets up your pc as the smtp server. So when running the CVI example ( or from outlook), you can specify the server name as you own machine name or just as localhost.

Hope this helps

Bilal
Bilal Durrani
NI
0 Kudos
Message 4 of 7
(3,801 Views)
Thanks for suggestions. I found the problem. In my from filed I was writing only name without actaul email address..i.e. only sheetal instead of sheetal@mail.com
and our server did not like that.
Thanks again for helping.
Thanks.
CVI 2010
LabVIEW 2011 SP1
Vision Builder AI 2011 SP1
0 Kudos
Message 5 of 7
(3,801 Views)
Hi Sheetal,
I would like to know if you send your e-mail trough outlook.
If yes how do you work arround the securty feature from Outlook ?

thank you.
0 Kudos
Message 6 of 7
(3,801 Views)
No I don't use outlook to send email.
I use our company's SMTP server. But you can postcast server too.
Thanks.
CVI 2010
LabVIEW 2011 SP1
Vision Builder AI 2011 SP1
0 Kudos
Message 7 of 7
(3,801 Views)