SPUtility Send Email无法将邮件发送到分发列表 [英] SPUtility Send Email unable to send mails to Distribution Lists

查看:75
本文介绍了SPUtility Send Email无法将邮件发送到分发列表的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用SPUtility在我的SharePoint在线环境中发送电子邮件。

I am using SPUtility to send out emails in my SharePoint online Environment.

对于单个邮件ID,它按预期工作,但当我使用相同的邮件发送到分发列表时,它给出了以下错误:

For individual mail id, its working as expected but when I use the same to send mail to a Distribution List it gives me below error:

发送电子邮件时出错:{" readyState":4," responseText":" {\" error \": {\" code\":\" -2130242040,Microsoft.SharePoint.SPException \",\" message \":{\" lang \":\\ \\"en-US \",\" value \":\"无法发送
电子邮件。确保该电子邮件具有有效的收件人。\"}}}","responseJSON&qu​​ot;:{" error":{" code":" -2130242040,Microsoft.SharePoint.SPException"", " message":{" lang":" en-US"," value":"
电子邮件无法发送。确保电子邮件具有有效的收件人。"}}},"状态":400,"statusText":"错误请求"}

奇怪的是,过去1。5年,相同的代码能够发送电子邮件给分发列表但最近开始失败。

Strange thing is that for past 1.5 years same code was able to send emails to Distribution lists but recently started failing.

请帮助!!

推荐答案

您好,

当分发列表中的邮件中存在无效的邮件地址时,通常会发生此错误消息,建议您检查Office 365管理中心中的通讯组列表成员:

This error message usually happened when there is an invalid mail address in mail in the distribution list, suggest to check the Distribution list members in Office 365 Admin Center:

确保每个成员的有效电子邮件地址为"/ _ api / SP.Utilities.Utility.SendEmail"。端点将使其有效。

Make sure each member has the valid email address as "/_api/SP.Utilities.Utility.SendEmail" endpoint will valid it.

如果问题仍然存在,请尝试创建新的分发列表并添加有效成员,然后再次尝试查看是否有效。

If the issue still exists, try to create a new distribution list and add a valid member, then try again to see if works.

谢谢

最好的问候


这篇关于SPUtility Send Email无法将邮件发送到分发列表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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