Results 1 to 3 of 3

Thread: Read email

  1. #1

    Thread Starter
    PowerPoster
    Join Date
    Apr 2007
    Location
    The Netherlands
    Posts
    5,070

    Read email

    Hi,

    I've had the idea to create an application that manages football matches played on FIFA10. The game has a built-in feature to send an email with the details of every (online) match you played. These details include the name of the opponent, the final result, possession, etc.

    So, for my app to work, I need to be able to read these emails. As far as I can see, they are all from the same address: [email protected]. So would it be possible to only read emails that came from that address?

    I've never done something like this before, but from google I know it's possible, and there are many different methods. Since I only need to read, never send, emails, and I need to be able to select an email on the address that it was sent from, can you suggest what method I should use?

    Also, I definitely want a method that does not require Outlook to be installed.

    Finally, I will need to parse the email so it would be nice if I can get the raw HTML, as the text is in tables and stuff.


    I'll keep reading some stuff on google but frankly, there's so many different methods that I am getting lost pretty quickly. I don't want to spend ages on this project, so it would be nice if I could use the best method right away, instead of wasting time trying out different methods and figuring out which is the best...

    Thanks!

  2. #2
    PowerPoster techgnome's Avatar
    Join Date
    May 2002
    Posts
    34,687

    Re: Read email

    What you need to do is have something that can connect to a POP3 server and retrieve the data... it can be done... there isn't anything directly inhereint in the .NET framework that can do this (like there is for the SMTP client to send) ... so it takes a little work. Try searching DevX.com for POP3, .NET and reading .... that's where I found code some time ago to do this...

    -tg
    * I don't respond to private (PM) requests for help. It's not conducive to the general learning of others.*
    * I also don't respond to friend requests. Save a few bits and don't bother. I'll just end up rejecting anyways.*
    * How to get EFFECTIVE help: The Hitchhiker's Guide to Getting Help at VBF - Removing eels from your hovercraft *
    * How to Use Parameters * Create Disconnected ADO Recordset Clones * Set your VB6 ActiveX Compatibility * Get rid of those pesky VB Line Numbers * I swear I saved my data, where'd it run off to??? *

  3. #3

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