使用 Visual studio 2008 的 Sharepoint 自定义顺序工作流程不发送电子邮件
我创建了一个 Sharepoint 自定义顺序工作流程。我必须使用 SendEmail 活动在各个步骤中发送警报。我尝试了以下代码:
this.sendalertEmail.To = "[email protected]";
this.sendalertEmail.From = "[email protected]";
this.sendalertEmail.Subject = "Regarding email";
this.sendalertEmail.Body = @"This is an automated email <b>response</b>";
我已在我的服务器中使用 Smtp 服务器和其他详细信息配置了传出设置。
它显示“无法发送电子邮件。请确保服务器的外发电子邮件设置配置正确。”请帮忙
I have created a Sharepoint custom Sequential workflow. I have to use the SendEmail activity to send an alert at various steps. I tried the following code:
this.sendalertEmail.To = "[email protected]";
this.sendalertEmail.From = "[email protected]";
this.sendalertEmail.Subject = "Regarding email";
this.sendalertEmail.Body = @"This is an automated email <b>response</b>";
i have configured teh outgoing settings in my server with Smtp server and other details.
it says "The e-mail message cannot be sent. Make sure the outgoing e-mail settings for the server are configured correctly." please help
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您确定 SMTP 设置正确并且您的 smtp 服务器允许中继吗?
使用 SMTP 测试工具等工具发送一些测试电子邮件 或 Telnet 在 SharePoint 服务器上发送一些测试电子邮件。
Are you sure SMTP is setup correctly and that your smtp server is allowing relay?
Send some test emails using a tool like the SMTP Test Tool or Telnet on your SharePoint servers to send some test emails.