01-05-2011 04:59 PM
Is there anyone out there familiar with the activeX controler called "Iwebbrowser"?
I was thinking on using this Windows activeX classes to make an application that would open a hotmail account and send an email (alert email, emergency email, you name it!).
Regards,
01-06-2011 04:06 AM
You can find the documentation of the IWebBrowser (Internet Explorer ActiveX objects) on the Microsoft site (MSDN Library). But why not use the SMTP E-mail VI's in LabVIEW? I'm not sure but doesn't hotmail (and Gmail) also support SMTP?
01-06-2011 04:09 AM
They do, but require nowadays all authentification, which the SMTP Email VI's don't support out of the box.
That said, I don't think the IWebBrowser interface would be the ideal interface to do email conversation. I would rather go with a different interface such as Outlook or if it should be independant lower level interface such as IMapiSession.
01-06-2011 01:43 PM
Have you seen this example? (GMAIL.vi) I just tried it and it authenticated with gmail fine for me. I presume that with the correct server name, port and account info that it should work equally well for hotmail.
Note: I did have to complete all fields. The VI is a bit messy, but is a good starting point. No Internet toolkit required!