开发者

Windows Service to Check Email - IIS/C#

Update开发者_开发百科d:

I need to figure out the best method for setting up an email account and automatically reading and processing emails.

After some thought I want to check a POP account (Gmail) from my service. Are there any libraries/built in stuff I can use to do this?

Free > Not Free.


Strictly speaking, you don't need IIS in the mix. You only need IIS (or your own POP/SMTP server) if you actually need management of the mail account you want to interact with at the server level.

You could certainly just write a windows service that uses SmtpClient (built into .NET) to send out emails to your external SMTP server:

http://msdn.microsoft.com/en-us/library/system.net.mail.smtpclient.aspx

And to check emails, you could use a POP client. I've used aspnetpop3 and it's ok, but you can certainly find some other (free) resources for checking POP mailboxes:

http://www.advancedintellect.com/product.aspx?pop3

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜