MATLAB actxserver and Google/Gmail

I'm working on a code that can access Google Gmail and pull the Inbox's messages (subject and body).
However, I'm having trouble accessing Gmail in the first place. Ive tried using actxserver('ChromeHTML') and actxGetRunningServer('ChromeHTML') but both say that it's an invalid progID. If anyone knows what Google Chromes progID is or if there's an easier way to access Gmail (WITHOUT OUTLOOK as its send/receive time is too high for efficiency regarding this project) then I would be really grateful!!
Thank you!
Note: I've seen all the methods and comments of people saying to use that one function that goes through outlook, but (to be more detailed), this project will continuoulsy reload the inbox till a specific sender sends an email and then pulls that email. However, the reload time for Outlook's Inbox takes a bit of time, and I've had it lag and have too many reload requests to keep up with...

3 commentaires

Image Analyst
Image Analyst le 19 Juil 2022
How I've used gmail is though a web browser, not a standalone program. How do you use it? Then you'd have to try to connect to the browser through ActiveX. Since it's a Microsoft thing you might be able to do it with the Edge Browser. Not sure you can connect Chrome through ActiveX but you might.
Gabriel Agostine
Gabriel Agostine le 19 Juil 2022
I do use it throgh the browser too, but this is simply a project I've been working on for fun and to test myself. But its the process of connecting to it through ActiveX that I'm having trouble with (if you have any advice that'd be very appreciated). It might also be worth trying to connect to Gmail through Microsoft Edge though, I didn't consider that...
Do you happen to know what the ProgID for Edge is? Thank you for the super quick response too (I was worried no one would ever see this lol)!
Walter Roberson
Walter Roberson le 19 Juil 2022
https://www.alphr.com/enable-activex-chrome/

Connectez-vous pour commenter.

Réponses (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by