By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
454,785 Members | 1,318 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 454,785 IT Pros & Developers. It's quick & easy.

System.Net.Sockets.Socket (Get state of Message)

P: n/a
Hi all

I am using System.Net.Sockets.Socket to connect to my
Mailserver (http://www.codeproject.com/csharp/despop3client.asp).
It all works fine exept one thing:
I do not know how I can find out if the mail is already read or unread ...
I also need to set this state to read, after I read it ...

Does anybody knows something about this ??
Would be happy for any comments!

Best regards
Frank Uray

May 12 '06 #1
Share this Question
Share on Google+
2 Replies


P: n/a
Hi Vadym

Thanks a lot for your answer.
So, I will store the mail infos about my own ... :-)

Do you know another way to read Mail Messages,
instead of using POP3 ... ??

Best regards
Frank Uray

"Vadym Stetsyak" wrote:
Hello, Frank!

FU> I am using System.Net.Sockets.Socket to connect to my
FU> Mailserver (http://www.codeproject.com/csharp/despop3client.asp).
FU> It all works fine exept one thing:
FU> I do not know how I can find out if the mail is already read or unread
FU> ... I also need to set this state to read, after I read it ...

AFAIK that's the responsibility of the mail client. So you have to store information about retrived e-mails and display them as read.

POP3 doesn't known anything about it.

What can you do?

Extend mail client you use, to store information about messages that were retrieved from the server and read by user.
Next time lauch your mail retieving application it reads the info about mail mesages and shows them ( according to some loginc ) in read or unread state.

--
Regards, Vadym Stetsyak
www: http://vadmyst.blogspot

May 12 '06 #2

P: n/a
Hello, Frank!

FU> Do you know another way to read Mail Messages,
FU> instead of using POP3 ... ??

It depends on mail server from where you're going to read mail.
Another protocol is IMAP.

However, there are servers that introduce their own API to manage mail on them.
Standard way is POP3 ( will work with the majority of mail servers )

--
Regards, Vadym Stetsyak
www: http://vadmyst.blogspot.com
May 13 '06 #3

This discussion thread is closed

Replies have been disabled for this discussion.