测试电子邮件功能的好方法 [英] Good way to test email functionality

查看:195
本文介绍了测试电子邮件功能的好方法的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

通过电子邮件通知应用程序。我想通过向生产服务器和客户端发送电子邮件来运行测试。几年前,我记得有人把一个坏的电子邮件循环掉了我们的交换服务器,并且宁愿不重复...

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 是您完美的选择寻找。它在过去几个月已经公布。我一直在使用它一个月。

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.


  1. 下载Papercut。

  2. 运行Papercut

  3. 将您的应用程序的smtp主机配置到运行Papercut的机器上。

  4. Watch Papercut接收电子邮件并查看内容。

  5. 完成后。关闭Papercut。

  1. Download Papercut.
  2. Run Papercut, while running it sits in your tray.
  3. Configure your application's smtp host to the machine running Papercut.
  4. Watch Papercut receive the emails and view the contents.
  5. When you are done. Close Papercut.

这篇关于测试电子邮件功能的好方法的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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