LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Sending and Recieving Email by a CVI program

I wonder, what is the best way to send and receive Email using CVI
program.
Does anyone has a code example on how to do it?

--
Ori Idan
O. T. Idan LTD. National Instruments Alliance member in ISRAEL
Email: ori@otidan.co.il
Home page: http://www.actcom.co.il/~otidan
Tel: +972-6-6262353 Fax: +972-6-6262405
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Things should be made as simple as possible but not simpler
Albert Einstein
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
0 Kudos
Message 1 of 2
(3,062 Views)
One method would be to use Microsoft Outlook to send e-mail through ActiveX
Automation. ActiveX Automation (formerly called OLE Automation) allows applications
to make their unique features available to scripting tools and other applications.
An ActiveX Automation server (Microsoft Outlook) is the application that
exposes its features. An ActiveX Automation controller (CVI) is the application
that uses the features of an ActiveX Automation server. An ActiveX Automation
server exports its features as a set of ActiveX Objects. For example, Microsoft
Excel exposes its workbooks, worksheets, and charts as ActiveX Objects. Each
ActiveX Object provides methods and properties that other applications can
access. For example, the Microsoft Excel worksheet object provides a calculate
method that calculates the values in a worksheet.

The ActiveX Automation Library contains functions that facilitate calling
into ActiveX server interfaces. Use the ActiveX Automation Library in conjunction
with the instrument drivers the ActiveX Automation Controller Wizard generates.
The ActiveX Automation Controller Instrument Drivers contain C functions
to create ActiveX Objects, to call ActiveX Object methods, and to get and
set ActiveX Object properties. Select Tools�Create ActiveX Automation Controller
to start the wizard.

For an example using Microsoft Outlook as an ActiveX Automation server, please
refer to the following file path: c:\MeasurementStudio\cvi\samples\activex\


You can also find several useful CVI ActiveX examples on our Example Programs
Database:
http://www.ni.com/support/epd/

Ori Idan wrote:
>I wonder, what is the best way to send and receive Email using CVI>program.>Does
anyone has a code example on how to do it?>>-->Ori Idan>O. T. Idan LTD. National
Instruments Alliance member in ISRAEL>Email: ori@otidan.co.il>Home page:
http://www.actcom.co.il/~otidan>Tel: +972-6-6262353 Fax: +972-6-6262405>++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++>Things
should be made as simple as possible but not simpler>
Albert Einstein>++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++>>
0 Kudos
Message 2 of 2
(3,062 Views)