c# - How to detect the title of Email on Windows Mobile? -
I want to inform the user to get a certain email with a specific sound. So I have to find out the title of the email.
I can use Melmessage in framework 2.0, but this class is not supported on Compact Framework on Windows Mobile. Which class can I use about any suggestions? Or is it impossible?
Another option is to use.
Use a normal socket connection and connect to your user's mailbox (usually port 110). Then you can execute some POP3-commands such as the top which receives a portion of the message. For example:
Example 1 - Revert headers only:
Top 1 + Top of the OK message --- All message headers - Example 2 - Return header and first 10 rows of body: Top 1 10+ Top of message fine --- All message headers --- --- --- 10 lines --- ---
When you get equal, you can parse the text for this word: "Subject:" which is a part of top authors.
Here is a web page that covers some basic. In any case, using Google, you can find very useful information about POP3
Good luck
Comments
Post a Comment