Clicking a Link in Mailinator

Hi.

I am using Mailinator.com and I need to click on a subject called "COMPUTER BILD SPIELE-Aktion: Avatar-Hubs".

Basically I just get the part of the link and input it into my web browser called webBrowser1 and retrieve the text...

The html looks like this:

<table id="inboxList">
        <tbody><tr>
            <th width="180">From:</th>
            <th>Subject:</th>
        </tr>

        <tr><td bgcolor="#EEEEFF"><b>cbspiele@computerbild.de</b></td><td bgcolor="#EEEEFF" align="center"><a href="/displayemail.jsp?email=hi910&amp;msgid=3361464">COMPUTER BILD SPIELE-Aktion: Avatar-Hubs</a></td></tr>


        <tr>
            <td align="right">

            </td>
            <td>&nbsp;</td>
        </tr>

    </tbody></table>

Open in new window

Se7enFreakAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Se7enFreakAuthor Commented:
Can anyone help me?
0
Edgard YamashitaSystems AnalystCommented:
you can use the htmlagilitypack to get all a items and parse one by one.. example:

HtmlAgilityPack.HtmlDocument Doc = new HtmlAgilityPack.HtmlDocument();
Doc.LoadHtml(MyHtmlString);

  HtmlAgilityPack.HtmlNode NodesA= Documento.DocumentNode.SelectSingleNode(@"//a");

foreach(var Node in NodesA)
{
//then you check the innertext for that text and then get the href attribute for the url
}

you get htmlagilitypack here  
http://htmlagilitypack.codeplex.com/

0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Se7enFreakAuthor Commented:
I don't know why you just wouldn't use a webbrowser..
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
.NET Programming

From novice to tech pro — start learning today.