发送电​​子邮件用C#+ Exchange 2007和可能的MS-SQL阙 [英] Sending Email with C# + Exchange 2007 and possible MS-SQL Que

查看:148
本文介绍了发送电​​子邮件用C#+ Exchange 2007和可能的MS-SQL阙的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我不喜欢,因为它得到打不死,但是经过了几个小时的问题挖掘,没有找到在这里多一个明确的答案,我们去后重提这一点:

I hate to rehash this as it gets beat to death, however after digging through questions for the past hour and not finding much of a definitive answer here we go:

要求:

发送批次1,OOO至10,OOO电子邮件,使用2007交换服务器,每天数次从C#ASP应用程序不同的套电子邮件收件人。

Send batches of 1,ooo to 1o,ooo emails to varying sets of email recipients from an C# ASP application using a 2007 exchange server several times a day.

关注:

1)规定的要求(我认为是不是太极端)什么是最好的方式来进行此事?

1) Given the requirements (which I think are not too extreme) what is the "best" way to go about this ?

2)我可以送1O说,一次还是应该在一百分批发送电子邮件呜呜呜?

2) Can I send say 1o,ooo emails at once or should they be sent in batches of a hundred ?

3)我看到的数据库阙在关于这个话题的其他线程提到,这是怎么做的?有没有办法指向交换到一个单独的阙。还是一个单独的服务必须对表运行。话虽这么说是否有任何开源项目来处理这种类型的事情?

3) I see the mention of database Que's in other threads regarding this topic, how is this done ? Is there a way to point exchange to a separate Que. or does a separate service have to run against the the table. That being said are there any open source projects to handle this type of thing ?

推荐答案

我用我的服务总线这个: HTTP://shuttle.$c$cplex.com/

I use my service bus for this: http://shuttle.codeplex.com/

我有一个EMail.Server端点SendEMailCommand消息发送到。它也处理附件。

I have an EMail.Server endpoint that SendEMailCommand messages are sent to. It also handles attachments.

服务总线使用队列来存储邮件和端点实现使用SMTP发送电子邮件。

The service bus uses a queue to store the messages and the endpoint implementation uses SMTP to send the e-mails.

这是一个相当简单的基础设施端点,我很乐意寄上code,你应该会感兴趣。

It is a rather simple infrastructure endpoint and I am quite happy to mail you the code should you be interested.

这篇关于发送电​​子邮件用C#+ Exchange 2007和可能的MS-SQL阙的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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