I am trying to test SharePoint's sending of emails - whether basic alerts or custom code (calling SPUtility.SendEmail). I tried specifying the smtpDeliveryMethod="pickup" as described here: Hidden Features of ASP.NET but it doesn't seem to work.
我正在尝试测试SharePoint发送的电子邮件 - 无论是基本警报还是自定义代码(调用SPUtility.SendEmail)。我尝试指定smtpDeliveryMethod =“拾取”,如下所述:ASP.NET的隐藏功能,但它似乎不起作用。
Has anyone gotten that method of testing Sharepoint's emails working? Is there a better way?
有没有人得到测试Sharepoint的电子邮件的方法?有没有更好的办法?
2 个解决方案
#1
I’m using Antix SMTP Server for Developers to test out my emails. It’s a dummy SMTP server which doesn’t send any real e-mails. But you still configure your SharePoint environment to use it as a SMPT-server, so you'll get a very realistic scenario.
我正在使用Antix SMTP Server for Developers来测试我的电子邮件。它是一个虚拟SMTP服务器,不发送任何真正的电子邮件。但您仍然将SharePoint环境配置为将其用作SMPT服务器,因此您将获得非常逼真的方案。
url: http://www.antix.co.uk/Projects/SMTPServerForDevelopers.aspx
#2
I've been using smtp4dev: http://smtp4dev.codeplex.com/
我一直在使用smtp4dev:http://smtp4dev.codeplex.com/
#1
I’m using Antix SMTP Server for Developers to test out my emails. It’s a dummy SMTP server which doesn’t send any real e-mails. But you still configure your SharePoint environment to use it as a SMPT-server, so you'll get a very realistic scenario.
我正在使用Antix SMTP Server for Developers来测试我的电子邮件。它是一个虚拟SMTP服务器,不发送任何真正的电子邮件。但您仍然将SharePoint环境配置为将其用作SMPT服务器,因此您将获得非常逼真的方案。
url: http://www.antix.co.uk/Projects/SMTPServerForDevelopers.aspx
#2
I've been using smtp4dev: http://smtp4dev.codeplex.com/
我一直在使用smtp4dev:http://smtp4dev.codeplex.com/