Example Code

Lotus Notes Email VI's

Products and Environment

This section reflects the products and operating system used to create the example.

To download NI software, including the products shown below, visit ni.com/downloads.

    Software

  • LabVIEW

Code and Documents

Attachment

Overview
This set of VI's uses ActiveX to communicate with Lotus Notes, allowing the user to send both plain text and html emails through the Lotus interface.

Description
The Lotus Notes Demo VI shows proper usage of the API.  If user want to send multiple emails, user  would want to put the send in a loop, and only open and close the ActiveX connection once.

To send an HTML email, simply pass the HTML source in as the Body string input.  To use HTML with embedded images, simply use the <img src="image path"></img> tag.  If the image path is a local path, the Send VI will open and embed the image with the email.  If it is an ftp or http path, it will simply embed the image in the email, but reference the web path.


Requirements

  • LabVIEW 2012 (or compatible)

Steps to Implement or Execute Code

 

  1. Fill up the appropriate fields.
  2. Run the VI.

 

Additional Information or References
Labview front panel

 1.png

 

 

 **This document has been updated to meet the current required format for the NI Code Exchange.**

 

Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.

Comments
Ujjval Shah
Member
Member
on

works like a charm!

however i am looking for way to access mails using labview and then programmatically forward them/archieve them..

any suggestions?

Thanks!

PHarris
Member
Member
on

I have recently added a community example which allows you to retrieve emails from Lotus Notes using ActiveX here. If you've not already figured something out this might be useful to you.

ozanicin
Member
Member
on

It works great for me.

Thanks a lot.

Johnson88@126.com
Member
Member
on

Pls. someone help how to use this example, it always show " class not registered" when I use it, pls. help how to fix it, thanks a lot!