LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

ActiveX for Microsoft MAPI Control

I want to use Microsoft MAPI Control to send mail.
0 Kudos
Message 1 of 4
(3,224 Views)
You need 2 controls :
- MAPISession1
- MAPIMessages1

Call:
- MAPISession1.SignOn
- MAPIMessages1
.MsgIndex = -1
.RecipDisplayName = "SendTo"
.MsgSubject = "Subject"
.MsgNoteText = "Message"
.SessionID = MAPISession1.SessionID
.Send
- MAPISession1.SignOff

Hope this helps
0 Kudos
Message 2 of 4
(3,224 Views)
Thanks for help. LabVIEW program works fine. But, I can't find MAPI activex for MAPISession & MAPIMessages on each PC. How I can install it?
0 Kudos
Message 3 of 4
(3,224 Views)
As far as I remember the file containing them is MSMAPI32.OCX (usually in \SYSTEM\).
Alll you have to do is take this file on the target machine, place it in the right folder and execute "regsvr32 msmapi32.ocx" from command prompt.

Hope this helps
0 Kudos
Message 4 of 4
(3,224 Views)