 |
|
 |
Do you connect from same compueter or remote ?
|
|
|
|
 |
|
 |
form same one. Is it the reason ?
|
|
|
|
 |
|
 |
Then probably your antivirus or firewall blocks TCP traffic.
Did you tried as localhost ?
|
|
|
|
 |
|
 |
Hi,
Yes your suggestion worked. The Firewall was blocking the connection.
Thank you very much for help.
Thanks,
Dan
|
|
|
|
 |
|
 |
I mean through a company firewall or the proxy server. It works when I'm directly connected to the internet. But, I didn't find an option to channel the traffic through a proxy server.
|
|
|
|
 |
|
 |
then you just need to connect to compnay proxy server, not direct server.
|
|
|
|
 |
|
 |
Hi,
Its great that you've updated this code.
Back when .NET 2.0 wasn't around I needed to write an intricate mail client (academic project), and used your code.
Found it to be very flexible and considerately written
Thanks
|
|
|
|
 |
|
 |
Hi,
You are welcome.
>Found it to be very flexible and considerately written
Day to day its getting better.
Currently ending VOIP(SIP) implementation, i can say that this code is
clean very well commented. (If compare to old, but some day i need to rewrite old code to such nicer code)
|
|
|
|
 |
|
 |
One question,
how do i use this through a proxy server (smtp server/client classes and others as well).
cheers,
Sameera.
|
|
|
|
 |
|
 |
What proxy ? or how . ...
|
|
|
|
 |
|
 |
That's a chunk-o-code! Thanks for sharing!!!
|
|
|
|
 |
|
 |
I'd also like to thank you for your code. I am still trying to learn how to program and this is wonderful. They only teach us the basic foundations of programming in school, but not necessarily any language, or IDE specific things, so this is very helpful.
Thank you very much.
-Richard
|
|
|
|
 |
|
 |
must close to sent "QUIT" to remote server ,It will commit the delete email.
|
|
|
|
 |
|
 |
Don't know, i use fetch all the time, all deleted ok.
|
|
|
|
 |
|
 |
offset += quoteEndIndex + 1 + quotedStringCEncoded.Length - quotedString.Length;
offset += quoteEndIndex + 1;
i chage to
offset = quoteEndIndex + 1 + quotedStringCEncoded.Length - quotedString.Length;
offset = quoteEndIndex + 1;
and the pop3 proxy is finished, thanks your code.
|
|
|
|
 |
|
 |
What does this chnage ?
Give me exmpale message header, so far i don't have any trouble to parse any header.
|
|
|
|
 |
|
 |
offset += quoteEndIndex + 1 + quotedStringCEncoded.Length - quotedString.Length;
offset += quoteEndIndex + 1;
quoteStartIndex = retVal.IndexOf("\"",offset);
^^^^
quoteEndIndex = retVal.IndexOf("\"",quoteStartIndex + 1);
^^^^
so the quoteEndIndex already include the offset value, the "+=" is wrong.
I have a header "to:", it include over 4 email address, the first 3 address can encode, but the next 4,5,6,7.... can't encode, because the offset > retVal.Length.
|
|
|
|
 |
|
 |
Can you give me example message header ?
|
|
|
|
 |
|
 |
"今天" , "今天" , "今天" , "今天" , "今天" , "今天" , "今天"
the orgin string may not display in this fourm, it code my post.
|
|
|
|
 |
|
 |
i use your code to get from remote pop3 server ,and add contacts name , and return it to outlook.
|
|
|
|
 |
|
|
 |
|
 |
yeah, the corp mail system have a web client, but it limit 10M, i must download email form pop3 srv.
but the email only have email address, didn't show the name, the name only show in web client.
I use your old version to build a translation program. the old verison have some bug to attantment.
today i download the new version. you have change the remote pop3 operation mode. the new server
fetch the remote pop3 mail and store into inbox. I need to change the code to make your mail server
act like a proxy. pass the command to remote pop3 . when outlook get the new mail , it return the
email with the contact name(get in outlook or xml).
|
|
|
|
 |
|
 |
Current version must work aslo ok for you.
All messages go to inbox folder, they are fetched in background so all messages will be there. For you no difference, very old version implemented live proxy, but with many servers and slow pop3 server it didn't worked.
|
|
|
|
 |
|
 |
I know, but i want to control the time I fetch from remote pop3 srv. and using the new mode,
the fetch process will delete the email after fetch, i want to keep the mail 7 days. or just
control the action in Outlook.
|
|
|
|
 |
|
 |
It is confuse that you name the parameters in POP3_MessageInfo(),POP3_Message().
the POP3_Message.ID = POP3_MessageInfo.MessageNumber ??
|
|
|
|
 |