Results 1 to 1 of 1

Thread: Open Mail[Hotmail] w/Webbrowser Control

Threaded View

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Nov 2008
    Posts
    18

    Question Open Mail[Hotmail] w/Webbrowser Control

    Yes, I'm making a program that signs into Hotmail and auto reads all the messages. I just can't figure out how to invoke, click to open the first message.

    I am using the Webbrowser Control which I know is so flexible if you know what your doing. I do see that the whole inbox is in a table so i don't know if I need to approach that in that manner or not. I spent 5 hours last night trying to figure this out.

    Here is the html code of the inbox inside of hotmail. The very first emails subject is" Dailymotion registration confirmation.

    Html Code:

    Code:
         
            <div id="messageListScrollableContainer" class="MessageListItems ClearBoth" onscroll="InboxPage.onMessageListScroll(this)">
                <div id="messageListContentContainer">
    
    <table class="InboxTable" cellspacing="0" cellpadding="0"><colgroup><col class="CheckBoxCol"/><col class="IconCol"/><col class="FromCol"/><col class="ImportanceCol"/><col class="AttachmentCol"/><col class="SubjectCol"/><col class="DateCol"/></colgroup><tbody onclick="return Control.invoke('MessageList', '_onBodyClick', event);" ondblclick="return Control.invoke('MessageList', '_onDblClick', event);"><tr  class="InboxContentItemUnread" id="0d8e75ca-f51a-11de-adee-00215ad9df98" msg="msg" mad="0|0|8CC573DF2CB5230||" ><td class="Chk" name="msgChkCell" unselectable="on">
    
    <input type="checkbox" name="msgChk"  title="Select message"/></td><td class="Ico"><img src="./clear.gif" class="i_new" alt="Unread"/></td><td class="Frm"><a>
    
    Dailymotion Notifications</a></td><td class="Imp"></td><td class="Att"></td><td class="Sbj">
    
    <a href="javascript:;">Dailymotion registration confirmation&#x200f;</a></td><td class="Dat">8:05 AM</td></tr><tr  class="InboxContentItemUnread" id="5cdbf4fa-efac-11de-a6d1-00237de49116" msg="msg" mad="0|0|8CC51D043CD4210||" ><td class="Chk" name="msgChkCell" unselectable="on"><input type="checkbox" name="msgChk"  title="Select message"/></td><td class="Ico"><img src="./clear.gif" class="i_new" alt="Unread"/></td><td class="Frm"><a>Windows Live Team</a></td><td class="Imp"></td><td class="Att"></td><td class="Sbj"><a href="javascript:;"
    
    >Welcome to Windows Live Hotmail - You picked a great time to join in&#x200f;</a></td><td class="Dat">12/23/09</td></tr><tr  class="InboxContentItemUnread" id="cad5465d-6fb2-4bdc-a497-82c293d490d5" msg="msg" mad="10|0|8CC4F5C53D23D30||" ><td class="Chk" name="msgChkCell" unselectable="on"><input type="checkbox" name="msgChk"  title="Select message"/></td><td class="Ico"><img src="./clear.gif" class="i_new" alt="Unread"/></td><td class="Frm"><a>Windows Live Hotmail Member Services</a></td><td class="Imp"></td><td class="Att"></td><td class="Sbj"><a href="javascript:;">Getting started with Windows Live Hotmail&#x200f;</a></td><td class="Dat">12/20/09</td></tr></tbody></table></div>
            </div>
            <div class="PaginationContainer BorderTop">
                <div class="PageNavigationMsgRange">3 messages</div><div class="PageNavigation FloatRight" onclick="return Control.invoke('MessageList', '_onNavClick', event);"><ul><li><div >Page</div></li><li pnCur="1" pnAm="0d8e75ca-f51a-11de-adee-00215ad9df98" pnAd="2009-12-30T08:05:13.043Z" pnDir="FirstPage" pnMid="2" pnSkip="0"><a href="javascript:;" title="Go to page 1"  class="PrimaryTextColor BoldText">1</a></li><li ><div><img class="PageNavigationPrev" src="http://gfx1.hotmail.com/mail/w4/pr01/ltr/i_prev_page_disable.gif" alt="Previous page"/></div></li><li ><div><img class="PageNavigationNext" src="http://gfx1.hotmail.com/mail/w4/pr01/ltr/i_next_page_disable.gif" alt="Next page"/></div></li></ul></div>
    
            </div>
        </div>
    </div>
                </div>
            </div>
            <div id="readingPaneSplitter"  class="SplitterBar SplitterBarHidden"></div>
            <div id="readingPaneSplitPane"  class="ReadingPaneSplitPane ReadingPaneSplitPaneFull ReadingPaneSplitPaneHidden">
                <div id="actionBar" class="ActionBar BorderBottom" style="visibility:hidden;" onclick="return Control.invokeStatic('Toolbar', 'onclick', event, Control.lookup(event.srcElement, 'aId'));">
                    <div class="Toolbar">
    		            <ul>
    		                
    <li aId="ReplyButton" class="ToolbarItem "  style="display:none;"><a  title="Reply (Ctrl+R)" href="javascript:;" id="ReplyButton"  onclick="PerfRecorder.startTimer(false, 'COR');">
        <span class="Label">Reply</span></a></li>
    Thank you so much this means so much to me, so much!
    Last edited by astradamasta; Dec 30th, 2009 at 11:57 AM. Reason: html

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width