POP3在C#SMTP邮件转发定制 [英] Pop3 to SMTP message custom forwarder in C#

查看:126
本文介绍了POP3在C#SMTP邮件转发定制的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想编写定期检查POP3帐户是否有新邮件,并根据自定义业务逻辑将消息转发到合适的收件人,并有可能转换服务从的可能。 。我可能需要在服务器上保留了一些消息,直到某些条件已准备好为他们被转发



我发现使用奇尔卡特.NET组件可能工作的例子:
http://www.example-code.com/csharp/pop3_forwarder.asp



我的问题是:有没有在.NET空间使用任何其他部件的任何其它的例子


$ b $? b

感谢


解决方案

下面的SO问题/答案可能有助于找到组件的,项目的POP3部分:<! / p>



和可以使用的 SmtpClient 中的 System.Net.Mail 的用于发送的电子邮件:




I'd like to write a service that periodically checks a POP3 account for new messages and based on custom business logic forwards the messages to an appropriate "To", and possibly changes the "From" as well. I might need to keep some messages on the server until certain conditions are ready for them to be forwarded.

I found a sample using Chilkat .NET components that might work: http://www.example-code.com/csharp/pop3_forwarder.asp

My question is: Are there any other examples of this in the .NET space using any other components?

Thanks!

解决方案

The following SO questions/answers might help finding components for the POP3 part of your porject:

And you can use SmtpClient in System.Net.Mail for sending the mails:

这篇关于POP3在C#SMTP邮件转发定制的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆