hi
refer below link
http://www.aspforums.net/Threads/210410/forward-email-into-website/
I used it for gmail account now I want use it for other account like:
info@bidelchoob.com so I change code like:
if (Session["Pop3Client"] == null) { pop3Client = new Pop3Client(); pop3Client.Connect("pop.bidelchoob.com", 25, true); pop3Client.Authenticate("info@bidelchoob.com", "111111", AuthenticationMethod.TryBoth); Session["Pop3Client"] = pop3Client; }
but this error happen:
The handshake failed due to an unexpected packet format.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.IO.IOException: The handshake failed due to an unexpected packet format.
Source Error:
Line 30: {Line 31: pop3Client = new Pop3Client();Line 32: pop3Client.Connect("pop.bidelchoob.com", 25, true); |
how I can use it for this account I don't know How I can change code for this kind of account..
can you help me?
Best Regards
Neda