Click here to Skip to main content
15,918,742 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
how to retrieve e-mail from a gmail to my asp.net website.
Posted

1 solution

 
Share this answer
 
Comments
abey e mathews 26-Apr-12 0:57am    
thanku so much..exactly what i mean...
Bojjaiah 26-Apr-12 1:28am    
Welcome mathews :)
abey e mathews 26-Apr-12 2:18am    
can i use for any other remort mail server other than gmail.
abey e mathews 26-Apr-12 3:30am    
same code can used for remort server,change the host name to you host name.in Pop3Client.aspx.cs,DisplayPop3Email.aspx.cs

also change the mail server port to your mail server port,in Pop3Client.aspx.cs



and also if your server not support secure login,

the command the link.

App_Code\Pop3.cs file
//if (IsSecure)
//{
// SslStream secureStream = new SslStream(Client.GetStream());
// secureStream.AuthenticateAsClient(Host);
// ClientStream = secureStream;
// secureStream = null;
//}
//else

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900