问题描述
通过电子邮件通知应用程序。我想通过向生产服务器和客户端发送电子邮件来运行测试。几年前,我记得有人把一个坏的电子邮件循环掉了我们的交换服务器,并且宁愿不重复...
Working on an app with notification via e-mail. I'd like to run test with out sending e-mails to production servers and clients. A couple years ago I remember someone bringing down our exchange server with a bad e-mail loop and would prefer to not repeat...
任何一个开发人员设置的建议?目前认为一个简单的SMTP服务器会做这个工作,但我不太熟悉这个空间。我需要能够看到发送到服务器的所有电子邮件,但是不应该发送。
Any suggestion for a dev setup? Currently think a simple SMTP server will do the job but I'm not familiar with that space. I would need the ability to see all the emails sent to the server but they should never be delivered.
谢谢。
推荐答案
是您完美的选择寻找。它在过去几个月已经公布。我一直在使用它一个月。
Papercut is the perfect fit for what you are looking for. It has been publicly available for the last couple of months. I have been using it for a month. It couldn't get any easier to test email functionality.
- 下载Papercut。
- 运行Papercut
- 将您的应用程序的smtp主机配置到运行Papercut的机器上。
- Watch Papercut接收电子邮件并查看内容。
- 完成后。关闭Papercut。
- Download Papercut.
- Run Papercut, while running it sits in your tray.
- Configure your application's smtp host to the machine running Papercut.
- Watch Papercut receive the emails and view the contents.
- When you are done. Close Papercut.
这篇关于测试电子邮件功能的好方法的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!