收件人的抄送,抄送,密件抄送的收件人不同 [英] different body for recipients in to, cc, bcc

查看:131
本文介绍了收件人的抄送,抄送,密件抄送的收件人不同的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我正在从ASP.Net应用程序中使用SMTP发送电子邮件.

发送工作正常,但我想为TO,CC和BCC中的收件人发送其他正文.

请让我知道是否可能以及如何实现.

在此先感谢.

Hi,

I am sending an email using SMTP from my ASP.Net application.

The sending is working fine but I want to send a different body for recipients in TO, CC and BCC.

Please let me know if it is possible and how it can be achieved.

Thanks in advance.

推荐答案

这是不可能的.您需要分别向cc和bcc发送邮件.
This is not possible. You would need to send separate mails for to, cc and bcc.


抱歉,由于所有这些属性,您无法将单独的正文发送到"To","CC"和"BCC"指向具有单个属性"mailbody"的单个邮件对象.
Sorry you can''t send seperate body text to "To", "CC" "BCC" since all these properties are pointing to single mail object which has single property called "mailbody".


根据设计,这是不可能的.可以将一封邮件发送给不同的收件人,使用密件抄送将隐藏其余收件人的地址,但是每封邮件都将发送给列表中的所有收件人.

如果要使发送给每个唯一类别的收件人的邮件有所不同,则需要创建三种不同的邮件,分别针对TO,CC和BCC收件人.这样做会给电子邮件主机带来一些额外的负担,但这可能不会引起注意.
This isn''t possible, by design. A single message can be sent to different recipients, and using BCC will hide addresses from the rest of the recipients, but each message will be sent to all recipients in the list.

If you want to make the messages sent to each unique class of recipient different, you''ll need to create three different messages, one each for the TO, CC, and BCC recipients. Doing so creates a little extra burden for the email host, but it will probably be unnoticeable.


这篇关于收件人的抄送,抄送,密件抄送的收件人不同的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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