01-08-2018 01:18 AM
Hi all,
I m facing some error when i m sending a mail with Attachment in outlook...
and Mail send without attachment file....
i m using Labview 2015 & office 2016...
i hope some one will help me in that....
i attached VI & Error pic here...
Thanks in Advance....
Solved! Go to Solution.
01-09-2018 10:23 AM
Hi, paripoornan.
I gave a look to the VI you attached and tried it myself. At first, I tried to send an attachment and it did not work, although I didn't get an error code. However, I rewired the error cluster to and from the 'attachments' invoke node (screenshot attached) and in this case the attachment was sent successfully. Try doing this and let me know if it works for you!
01-12-2018 07:36 PM
thank you,
i find the solution already....
but still one thing is disturbing in my mind.... we i tried this vi without changing error its work fine in my laptop..... when i m using that in my Desktop attachment not send....
i doesn't know... but after re-routing error its work fine in both machines...
anyway thanks for your reply....
01-15-2018 11:34 AM
Yes, this behavior surely is strange but not completely unexpected. LabVIEW execution works by following the data-flow and if the error cluster is not wired on all nodes, the order of execution of the nodes is not certain. In this case what could be happening is that sometimes the email is being sent before the file is attached. By wiring the error clusters you force the data-flow in the direction you want and we can guarantee that the nodes in the VI are going to execute in the order they are wired. Hope this helps!
04-29-2019 01:02 AM
Dear,
How to use the ActivX to download the attachments?
thanks in advance.
04-30-2019 05:25 AM
You may check this...this is Working for me.