I googled out quite a few but all are at best alpha versions, so it seems I will have to try an code one. Instead of coding one from scratch I would like to build on existing implementation, but a good one.
我搜索了很多,但所有都是最好的alpha版本,所以我似乎必须尝试一个代码。我不想从头开始编写代码,而是希望以现有的实现为基础,但这是一个很好的实现。
Any suggestions?
有什么建议么?
5 个解决方案
#1
33
SMTP server - I've used Simple SMTP in conjunction with mailparser. IMHO, these are the best tools on the Internet for building SMTP servers in Node.js.
SMTP服务器 - 我将Simple SMTP与mailparser结合使用。恕我直言,这些是Internet上用于在Node.js中构建SMTP服务器的最佳工具。
UPDATE: Simple SMTP has been deprecated. Use SMTP server instead (the successor of the Simple SMTP module).
更新:不推荐使用简单SMTP。请改用SMTP服务器(简单SMTP模块的后续版本)。
#2
21
Haraka: https://github.com/baudehlo/Haraka
哈拉卡:https://github.com/baudehlo/Haraka
Is a full featured mail server in node.js - should do everything that you need.
在node.js中是一个功能齐全的邮件服务器 - 应该做你需要的一切。
#3
6
RFC 2821 (http://tools.ietf.org/html/rfc2821) is not too complex, you should be able to flesh out a server in about 300 lines of js.
RFC 2821(http://tools.ietf.org/html/rfc2821)并不太复杂,您应该能够在大约300行js中充实服务器。
#4
6
Some answers here are quite outdated, so I'd like to offer the lastest.
这里的一些答案已经过时了,所以我想提供最新的答案。
There are currently three Node SMTP servers (libraries) I know of:
我目前有三个节点SMTP服务器(库):
- Haraka (which has been mentioned and is quite robust/heavy)
- Haraka(已被提及且相当健壮/沉重)
- smtp-server (this is the successor to the deprecated Simple SMTP project)
- smtp-server(这是已弃用的简单SMTP项目的后续版本)
- smtp-protocol
- SMTP协议
There's also mailin which is an SMTP server that receives messages and posts them to some URL for you to process. Mailin uses Python for some optional features.
mailin也是一个SMTP服务器,它接收消息并将它们发布到某个URL以供您处理。 Mailin使用Python来实现一些可选功能。
#5
0
Personally, I use node_mailer :
就个人而言,我使用node_mailer:
send emails from node.js to your smtp server, simple as cake.
从node.js发送电子邮件到你的smtp服务器,就像蛋糕一样简单。
From https://github.com/marak/node_mailer :
来自https://github.com/marak/node_mailer:
Features :
特征 :
- super simple api
- 超级简单的api
- emails are blasted out asynchronously
- 电子邮件异步发出
- uses connection pooling per SMTP server
- 使用每个SMTP服务器的连接池
- super simple built in templates using Mustache.js
- 使用Mustache.js的超级简单内置模板
- SSL supported (NodeJS v0.3.x or later)
- 支持SSL(NodeJS v0.3.x或更高版本)
#1
33
SMTP server - I've used Simple SMTP in conjunction with mailparser. IMHO, these are the best tools on the Internet for building SMTP servers in Node.js.
SMTP服务器 - 我将Simple SMTP与mailparser结合使用。恕我直言,这些是Internet上用于在Node.js中构建SMTP服务器的最佳工具。
UPDATE: Simple SMTP has been deprecated. Use SMTP server instead (the successor of the Simple SMTP module).
更新:不推荐使用简单SMTP。请改用SMTP服务器(简单SMTP模块的后续版本)。
#2
21
Haraka: https://github.com/baudehlo/Haraka
哈拉卡:https://github.com/baudehlo/Haraka
Is a full featured mail server in node.js - should do everything that you need.
在node.js中是一个功能齐全的邮件服务器 - 应该做你需要的一切。
#3
6
RFC 2821 (http://tools.ietf.org/html/rfc2821) is not too complex, you should be able to flesh out a server in about 300 lines of js.
RFC 2821(http://tools.ietf.org/html/rfc2821)并不太复杂,您应该能够在大约300行js中充实服务器。
#4
6
Some answers here are quite outdated, so I'd like to offer the lastest.
这里的一些答案已经过时了,所以我想提供最新的答案。
There are currently three Node SMTP servers (libraries) I know of:
我目前有三个节点SMTP服务器(库):
- Haraka (which has been mentioned and is quite robust/heavy)
- Haraka(已被提及且相当健壮/沉重)
- smtp-server (this is the successor to the deprecated Simple SMTP project)
- smtp-server(这是已弃用的简单SMTP项目的后续版本)
- smtp-protocol
- SMTP协议
There's also mailin which is an SMTP server that receives messages and posts them to some URL for you to process. Mailin uses Python for some optional features.
mailin也是一个SMTP服务器,它接收消息并将它们发布到某个URL以供您处理。 Mailin使用Python来实现一些可选功能。
#5
0
Personally, I use node_mailer :
就个人而言,我使用node_mailer:
send emails from node.js to your smtp server, simple as cake.
从node.js发送电子邮件到你的smtp服务器,就像蛋糕一样简单。
From https://github.com/marak/node_mailer :
来自https://github.com/marak/node_mailer:
Features :
特征 :
- super simple api
- 超级简单的api
- emails are blasted out asynchronously
- 电子邮件异步发出
- uses connection pooling per SMTP server
- 使用每个SMTP服务器的连接池
- super simple built in templates using Mustache.js
- 使用Mustache.js的超级简单内置模板
- SSL supported (NodeJS v0.3.x or later)
- 支持SSL(NodeJS v0.3.x或更高版本)