Fog Creek Software
Discussion Board




Good and cheap POP3 COM/.Net components?

I suppose that other people have (or will have) this question, so I'll post it here for public consumption.  Does anybody have any recommendations for a good (and hopefully cheap) component that will let me check a POP3 or Exchange mailbox from a .NET application?

I need to write a small utility or service that will run on our server, and periodically check a POP3 or Exchange mailbox for mail, parse the email attachments, and import the resulting data into our database.

(Yes, having the information *emailed* to us is sub-optimal, but for various reasons it's how things need to happen)

.NET has the System.web.mail namespace, which is apparently a wrapper for CDONTS, but that only seems to support the sending of SMTP mail; not checking mail in an existing mailbox.

John Rose
Monday, June 21, 2004

Dear Lazy Programmer,

Use google, it is your friend.

http://lesnikowski.fm.interia.pl/Mail/mail.html

//\
Monday, June 21, 2004

Google certainly returns quite a few results for this sort of component. 

What I'm wondering is this: has anybody got one to *recommend*?  I don't know which of the many components might be high-quality, so I was curious to know if any fellow JOS'ers had good personal experiences using them.

Perhaps I should have been more clear.  (Or perhaps I simply shouldn't feed the trolls!)

John Rose
Monday, June 21, 2004

If you know that you're running against an exchange server, you can also use Exchange (post 2000?) WebDAV support.
Though a protocol designed for email (e.g. IMAP, or possibly POP) may be much easier to work with than a general purpose protocol like WebDAV.

mb
Monday, June 21, 2004

The open source Indy project may be what you're looking for:

http://www.indyproject.org/Indy.html

Article on "Why you should use Indy when .NET already has socket support":

http://www.atozed.com/indy/Texts/WhyIndy.iwp

Herbert Sitz
Monday, June 21, 2004

http://www.xtras.net/categories/Email.asp

Please buy from a reseller :)

Green Pajamas
Monday, June 21, 2004

http://www.chilkatsoft.com/

They have a COM and .NET email component, both POP3 and SMTP capabilites. I haven't used this particular component, but I have used their XML Parser, and FTP components.

Slartibartfast
Monday, June 21, 2004

I tried a few POP-components, and I found the open-source component OpenPOP.NET to be the best of the bunch:

http://sourceforge.net/projects/hpop/

Girb
Tuesday, June 22, 2004

*  Recent Topics

*  Fog Creek Home