To download NI software, including the products shown below, visit ni.com/downloads.
This example uses Microsoft Outlook ActiveX objects to create a new message and then send that message using the Microsoft Outlook engine. The VI was developed and testing using Microsoft Outlook 2002.
Note: This example has been tested with LabVIEW 2021 and Outlook 365 with no issues.
Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.
Hi,
I'm facing a problem using the SubVI send_outlook_mail_active.vi. The problem is that I get the below broken wire error if I use the SubVI in a project that also includes cRIO. It worked and still works fine if I use it in a VI with simulated modules. However I would like to use it with cRIO, the idea is that it will send me an email if the values I'm measuring are not not within the limits.
I wander if anyone has faced a similar problem or knows how I could resolve my problem? I have never used the blocks used in the SubVI, so I'm bit lost.
Additional information about my systems
- LabView 2021 - 32 bit
- LabVIEW FPGA Module 2021
- LabVIEW Real-Time Module 2021
- NI CompactRIO Drivers 21.0
- NI DAQmx 21.0
- cRIO-9056
Thank you in advance!
Kind regards,
Hossein Bakhtiari
This is great. Happy to report it still works in 2024!
Any idea why the Outlook_.MailItem doesn't have a 'Message-ID' element?
Is there a way to set the 'Message-ID' using this Outlook class?