将所有邮件保存到文件夹的 SMTP 服务器? [英] SMTP server that saves all mail to a folder?

查看:36
本文介绍了将所有邮件保存到文件夹的 SMTP 服务器?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否有任何免费的 SMTP 服务器只接受通过它们发送的邮件,并将其保存到您的硬盘,而不将其发送给收件人.我想用它来测试我的应用程序.与其只是等待邮件通过,还不如将所有电子邮件都放在一个文件夹中,这样我就可以查看它们了.我可以在我的程序中加入一些钩子来保存而不是发送消息,但我认为这不是一个完整的测试,如果代码遵循不同的路径.有没有这样的现有应用程序?

Are there any free SMTP servers that just accept the mail sent through them, and save it to your hard disk, without sending it to the recipient. I would like to use this for testing my applications. Instead of just waiting around for the mail to go through, it would be nice if all emails could just be dropped in a folder, so that I can look at them. I could put some hooks into my program to just save instead of sending the message, but I don't think it's a full test, if the code follows a different path. Are there any existing applications like this?

我认为这真的很有帮助,因为您可以测试邮件功能,而无需等待邮件服务器发送邮件,这样您就可以在离线时进行编码,而无法访问实际的邮件服务器.

I figure this would be really helpful, because you could test the mail abilities without needing to wait for the mail server to deliver it, and so that you can code while you're offline, and don't have access to an actual mail server.

我专门使用 .Net,但我没有使用 .Net 中的默认 SMTP 邮件处理类,因为它们在 .Net 1.1 中是多么有限.我们正在使用第三方库 (chilkat).我知道从那时起事情发生了变化,但代码稳定且有效,所以现在针对 .Net API 重写没有意义.

I'm specifically using .Net, but I'm not using the default SMTP mail handling classes in .Net, because of how limited they were in .Net 1.1. We are using a third party library (chilkat). I know that things have changed since then, but the code is stable and works, so no point in rewriting against the .Net API now.

我想要一个专门用作 SMTP 服务器的东西,因为我将来可以在我从事的任何项目中使用它,无论使用哪种语言.

I would like something that works as an SMTP server specifically because I could use it in the future for whatever projects I worked on, no matter the language.

推荐答案

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