英文:
Why would an email sent from a ColdFusion script to an Office 365 distribution list fail to make it to the list members?
问题
我有一个使用ColdFusion的<cfmail>
标签发送邮件的应用程序。当“to”属性中指定的收件人是一个简单的单用户邮箱或共享邮箱时,邮件可以正常送达。然而,当收件人是一个分发列表时,邮件却无法到达分发列表成员的收件箱。以下是代码示例:
<cfprocessingdirective suppresswhitespace="no">
<cfmail
type="html"
query="getRecord"
from="Some Email Address<SomeEmail@Address.com>"
to="some_distribution@list.com"
subject="Subject Text">
<p>Some text</p>
<ul>
<li>Some Field: #encodeForHTML(getRecord.someField)#</li>
<li>Some Other Field: #encodeForHTML(getRecord.someOtherField)#</li>
</ul>
<p>Some text</p>
</cfmail>
</cfprocessingdirective>
已经测试了多个分发列表,但都未成功。我已经尝试将单用户电子邮件地址或共享邮箱地址添加到<cfmail>标签的CC或BCC属性中进行测试,结果发现邮件可以送达CC/BCC地址,但无法送达分发列表成员的地址。
英文:
I have an application that sends mail using the ColdFusion <cfmail>
tag. When the recipient, specified in the "to" attribute, is a simple single-user mailbox or shared mailbox, the mail is delivered without issue. When the recipient is a distribution list, however, the mail never arrives at the list members' inboxes. Following is what the code looks like:
<cfprocessingdirective suppresswhitespace="no">
<cfmail
type="html"
query="getRecord"
from="Some Email Address<SomeEmail@Address.com>"
to="some_distribution@list.com"
subject="Subject Text">
<p>Some text</p>
<ul>
<li>Some Field: #encodeForHTML(getRecord.someField)#</li>
<li>Some Other Field: #encodeForHTML(getRecord.someOtherField)#</li>
</ul>
<p>Some text</p>
</cfmail>
</cfprocessingdirective>
This has been tested with multiple distribution lists, and failed with all of them. I've tested adding a single-user email address or shared mailbox address to the CC or BCC attribute of the <cfmail> tag, and found that the mail arrives at the CC/BCC address, but not at the addresses of the members of the distribution list.
答案1
得分: 1
对于 Office 365,所有组和分发列表默认情况下已关闭"默认情况下关闭接收外部电子邮件"。您应该在组的配置中检查"允许组外部的人员发送邮件到该组"复选框是否已打开。
要进行此设置:
- 以管理员身份登录 Office 365
- 从活动组列表中选择组
- 单击该组以打开属性滑出
- 切换到"设置"选项卡
- 您可以从此面板打开该标志并应用更改
英文:
For Office 365, all groups and distribution lists have Outside Receiving turned off by default. You should check in the configuration for the group if the "Let people outside this organization send mail to this group" check box has been turned on.
To get to this setting:
- log into Office 365 as an administrator
- select the group from the Active Groups list
- click on the group to open the properties slide out
- switch to the Settings tab
- you can turn on the flag from this panel and apply the changes
答案2
得分: 0
有时类似的群发邮件需要发件人处于该群组内部,或者至少使用SMTP服务器进行身份验证。我会首先检查这一点。
英文:
Sometimes group emails like that require the sender to be "inside" the group, or at least SMTP authenticated with the server. I'd check that first.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论