问题标签 [mail-server]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票
2 回答
2641 浏览

java - 通过javamail连接错误

我正在尝试使用 imap 协议连接到 james 服务器,但出现以下异常:

James 服务器已经在运行,我不明白上述异常的原因。这是因为 James 不支持此协议还是有其他原因?

这是试图连接到 James 服务器的 Javamail 应用程序的源代码:

}

0 投票
5 回答
244 浏览

php - 在本地测试网站邮寄

我想为网站测试密码恢复和类似的电子邮件相关功能。

我正在使用 PHP(cakePHP 框架),语法似乎很简单,但我不确定电子邮件服务器的设置。

我四处寻找一个很好的教程,但它们不够具体。

什么是本地使用的快速简便的邮件服务器?还...一些启动的初始步骤将不胜感激。

0 投票
2 回答
191 浏览

java - 邮件服务器下载帮助

有没有可以和javamail一起使用、操作简单、支持POP3、IMAP、SMTP的邮件服务器?我认识 James,但它不提供对 IMAP 的支持。有人知道吗?

0 投票
1 回答
131 浏览

web-services - 设置电子邮件服务器以响应发送到帐户的电子邮件

这是一个新手问题......我想创建一个响应发送给它的电子邮件的服务。

只是为了说明。如果用户向 handlethis@example.com 发送带有一些说明的电子邮件,我希望 example.com(这是我拥有的域)上的程序来阅读电子邮件并采取相应的行动。

我强烈怀疑我可以使用标准网络主机(共享)来做到这一点,所以我欢迎关于我可以在哪里托管这样的东西(以最便宜的价格)的建议。

“程序”会写成什么?我可以使用 php 等还是某些特定的“电子邮件处理”语言!?

谢谢!小号

0 投票
1 回答
98 浏览

.net - .NET 环境中的电子邮件控制

我正在使用 .NET,我想知道是否有一些免费程序(或 .NET 开源)可以帮助排队和控制电子邮件流出:

  1. 每次应该发送电子邮件时,将其放入队列(数据库)
  2. 队列数据库将包含以下信息:时间戳、电子邮件地址、队列时间、发送时间、成功、重试次数
  3. 电子邮件必须在队列中至少等待 x 分钟才能发送
  4. 电子邮件作业由一批 x 数量的电子邮件执行。每个作业延迟 x 秒间隔

与上述类似的东西会有所帮助。谢谢。

0 投票
3 回答
21293 浏览

email - 是否可以将 Amazon EC2 实例用作电子邮件服务器?

我希望能够运行 EC2 实例(基于 CentOS LAMP)作为邮件服务器,并在用户注册时为他们创建电子邮件地址,以便他们可以通过电子邮件上传文件。电子邮件将被解析并处理附加文件并添加到 S3 进行存储。

这可行吗?

我需要什么邮件包?我希望能够创建电子邮件地址,例如 username@uploads.domainname.com

我的域名指向不在亚马逊网络服务上的网络服务器,所以我意识到这可能是不可能的。

我从哪里开始,有什么好的资源可以在 EC2 上设置邮件服务器

非常感谢

0 投票
4 回答
48536 浏览

java - 如何配置环境以使用 JavaMail?

我需要使用 JavaMail 发送简单的 html 消息。而当我试图在网上找一些有解释的好例子时,下一个例子都让我更加愤怒和愤怒。

所有这些愚蠢的示例都包含复制和粘贴的 Java 代码,它们的区别仅在于注释和一个很好的免责声明,即首先您应该配置您的 smtp 和 pop3 服务器。

我知道没有人愿意为某些具体产品做广告,但配置服务器是最难的部分。那么,谁能给我一些关于配置具体服务器(例如 Kerio 或任何其他服务器)的非常有用的信息(没有 java 代码)?

我现在拥有的是下一个例外:

UPD。对前面所有文本的简单重新表述是:想象你有 Windows、jdk,没有别的。你想制作java程序并在你的机器上运行它。这个程序应该发送“Hello world!” 到您的 gmail 帐户。列出你的步骤。

UPD2。这是代码:

例外是:

0 投票
1 回答
91 浏览

.net - Email server that supports .NET plugins that can do actions according to email content

I have an application where I need to check emails as they come, however using POP3 to poll an email server is a major pain.

Ideally I'd just like to setup an email server and write a plugin for it to handle some sort of EmailReceived event, that contains all the headers and content of the e-mails received.

I'm not looking to create an email server from scratch, however if there is a decent open source one written in .NET I can just modify to do this that would be just as good.

Preferably though I'd rather just write a plugin for a server that has an API for something like this.

Does anyone know of an email server that runs on Windows and supports plugins and has an API, or at the least, is open source in .NET to allow extending it myself?

0 投票
1 回答
376 浏览

mail-server - Working of receiving mail server

Dear, I torn my hair since last 7-8 days to know the working of receiving mail server. The word "Receiving Mail Server" might sound confusing to you in the first instance. So let me first make you clear on that.

Complete Mail service works as follows:

  1. We send email using a MTA (mail transfer agent) like "sendmail" on Linux or "Outlook" on windows.

  2. Both these MTA deliver email to the SMTP server, which further delivers the email to the destination.

  3. Let say we are sending email to "munendra@mydomain.com", SMTP must connect to the domain "mydomain.com" on some TCP socket, and there must be some service listening on the server "mydomain.com" to receive the emails. I want to know what this service is?? On what port does it runs?? This stage is what I mean to say the "Receiving Mail Server".

POP/IMAP comes secondary after the email delivers on the server, their primary function is to fetch the email from server to the local computer.

Thanks a lot in advance!!

0 投票
2 回答
144 浏览

asp.net - 如何从 Web 应用程序发送电子邮件

有几个类似的问题。我只想澄清一个部分。

如果我想发送一封电子邮件(最多 30 封)以响应用户的操作,我应该从什么执行上下文中执行此操作?

  1. 我是否进行同步呼叫(邮件服务器在同一个数据中心,所以实际发送速度很快)?

  2. 我是否产生一个线程并从那里发送它?这样每个用户请求发送邮件都由一个新线程处理?

  3. 我有处理电子邮件队列的后台线程吗?

我认为最大的问题是它是一个共享的网络托管。所以我不知道安装/启动Windows服务或启动专用线程的好方法是什么。

详细信息:ASP.NET MVC 应用程序,托管在 IIS 7.0 集成模式上,在使用 discauntasp.net smtp 服务器的 discountasp.net 上。

有没有更好的办法?实现此目的的“标准”方法是什么?