EMail from ASP.NET

I used the smtp class to send emails through code.

Is it possible to use classes in a .net structure to display email messages received on a page without having to use something like sdk exchange?

How can I use the gmail pop and smtp server information in .net applications (with .net classes) to send and receive email?

+3
source share
3 answers

You cannot receive email from a remote server in .net without any third-party libraries.

.Net includes only SMTP support, for POP and IMAP you must use a different library. (or roll your own.)

By the way, this question applies to any mail server / service, and not just to gmail.

+1
source

Yes it is possible. It will probably be easier for you to use one of the many third-party components that are available and encapsulate most of the logic that you would otherwise need to develop.

I like the Chilkat email component . They provide an online example showing how to use your component to access your Gmail inbox through POP3 . They also have an IMAP component that you might find useful.

+2
source
+1
source

All Articles