I'm creating a prog that will send a text message to the user's mobile fone when they receive new emails in their Gmail account. I have the code to send the text message done but I still cannot find a way to get the names/emails of the senders of the new emails. I think I will do it by finding text that is in bold "<b>" and then parse out the name from that, but I can't manage to get the correct HTML for the gmail inbox. They are using frames and when I use the code:I only get some Javascript, but not enough to find what I'm looking for.VB Code:
'Needs reference to Microsoft HTML Object Library Dim objHTML As New MSHTML.HTMLDocument Set objHTML = Web.Document.frames.Item(1).Document Debug.Print objHTML.body.innerHTML
Basically I need to get the html from some frame or iFrame but I have looked thru all the frames (I think) and I still cannot find the html that contains the name or subject of the unread emails.
Thanx,
Shiraz




Reply With Quote