01-29-2010 11:28 PM
Hello everyone,
I want to automate MS Outlook using ActiveX. My requirement is to fill the address line of a new mail through LabVIEW.
Thanks in advance
cooldude
Solved! Go to Solution.
01-29-2010 11:54 PM
Use Google to find examples on how to use the Outlook Automation Objects. Then, you can replicate the code in LabVIEW.
Why do you need to go through and automate Outlook? Why can't you just send the email from LabVIEW?
01-30-2010 12:19 PM
02-16-2010 07:15 PM - edited 02-16-2010 07:17 PM
Searching the NI database is a waste as the vi's and files are all out of date, 2006 or older. That was a very un-helpful, generic, answer to a very specific question that I to am now faced with.
So again, what active-X or tool allows LabVIEW 8.2 to interact with Outlook 2007 to send e-mails?
I need to go through Outlook as IT has closed down access to GMail. Outlook is the only option available.
02-16-2010 07:20 PM
02-16-2010 08:05 PM
Okay, I downloaded the September 2006 example and it worked for sending an e-mail after I deleted the defered time option, and set the email address.
How is the "Outlook._Application" control on the front panel of the "Create Outlook Mail Message.vi" created?
What are the steps required for a person to create it again from scratch?
02-16-2010 08:06 PM
Drewski wrote:Searching the NI database is a waste as the vi's and files are all out of date, 2006 or older. That was a very un-helpful, generic, answer to a very specific question that I to am now faced with.
So again, what active-X or tool allows LabVIEW 8.2 to interact with Outlook 2007 to send e-mails?
I need to go through Outlook as IT has closed down access to GMail. Outlook is the only option available.
Message Edited by Drewski on 02-16-2010 07:17 PM
The links are as current as your version of LabVIEW so I don't understand the whining or the attitude. I will also ask the question as to why you don't use the built-in email functions? ActiveX and Outlook is so much slower.
02-16-2010 08:24 PM
Obviously I was under the impression that a seperate piece of software was required to use ActiveX to control Outlook. Now that I've been schooled, I see that is not the case. It turns out the ActiveX thing is already installed AND that LabVIEW already has access to the already installed ActiveX thing.
The reason I need to use the slow ActiveX and Outlook combination is that IT has shut down access to internet mail servers, gmail, yahoo mail, hot mail, my local ISP webmail and also, IT does not provide an simple SMTP server.
02-16-2010 10:15 PM
02-16-2010 10:23 PM
Yes, it is an Exchange Server. If it's a choice between only IMAP and SMTP, I would say it was IMAP as I know SMTP doesn't work.
Everything (LabVIEW -> ActiveX -> Outlook -> sending emails) is working as of now, so I will no longer be monitoring this thread.
Thanks for all o' your helpses, good luck!