如果指定了多个收件人,则使用 System.Net.Mail.SmtpClient.Send() 发送多少封邮件?
我有一些代码使用 System.Net.Mail.SmtpClient.Send 从我维护的软件发送数据。我们根据发送的数据量付费,因此确定最具成本效益的信息分发方式至关重要。
如果我指定多个收件人,我认为该软件将为每个收件人传输一封电子邮件是否正确?即,如果每封电子邮件为 1MB 并且我有三个收件人,我会发送 3MB 吗?
I have some code which uses System.Net.Mail.SmtpClient.Send
to send data from a piece of software I maintain. We're charged on the amount of data we send so it's crucial that we identify the most cost effective way to distribute the information.
If I specify multiple recipients, am I right in thinking the software would be transmitting one email per recipient? i.e. if each email was 1MB and I had three recipients, I'd be sending 3MB?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
通常,当您发送一封包含多个收件人的邮件时,您的客户会向您的提供商发送一封电子邮件,该提供商负责向每个收件人发送一封邮件...
如果您想确定,请使用 WireShark 监控您使用的 SMTP 端口并检查流量。
已编辑:
如果您有外部提供商,我之前的回答是正确的;如果您的公司有内部邮件服务器,情况可能会有所不同:在这种情况下,您的服务器负责发送此电子邮件,并且根据其配置(使用智能主机等...),它可以将一封电子邮件发送到外部提供商或发送多封电子邮件,每个收件人一封。
在这种情况下,您必须检查服务器的 SMTP 端口上发生了什么。
Usually when you send a mail with multiple recipients, your client sends one email to your provider and this is responsible to send one message to every recipient...
If you want to be sure, use WireShark to monitor SMTP port you use and check the traffic amount.
EDITED:
My previous answer was true if you have an external provider; situation can be different if you have an internal mail server in your company: in this case your server is responsible to send this email and, according to its configuration (using a smarthost, etc...), it could send a single email to an external provider or send multiple emails one for each recipient.
In this case you must check what happens on SMTP port of your server.