Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

EMail from ASP .NET

I have used the smtp class to send emails through code.

Can I use the classes in the .net framework to display emails received on a page without having to use something like exchange sdk?

How would I go about using gmail pop and smtp server information in .net web apps (with the .net classes) to send and receive email?

like image 347
Developer Avatar asked May 02 '26 10:05

Developer


1 Answers

Yes, it's possible. You'll probably find it easier to use one of the many third-party components which are available and encapsulate much of the logic you would otherwise need to develop.

I like Chilkat's email component. They provide an online example showing how to use their component to access a Gmail inbox via POP3. They also have an IMAP component which you might find useful.

like image 96
Ian Nelson Avatar answered May 04 '26 02:05

Ian Nelson