自动处理收到的电子邮件并发送回复
我正在从事的项目需要监视电子邮件帐户中的新消息。 我可以自由决定这些消息的格式,以便更容易解析其中包含的信息。 (如[请求代码:xxxxxxxxx])
根据请求代码,我需要向原始发件人发送电子邮件回复。 我以前没有做过类似的事情。 请问您能建议任何方案/API/库/代码片段吗?
我正在使用:
- Microsoft Exchange 服务器(该服务器的电子邮件帐户将收到电子邮件)
- Visual Studio 2008 (C#)
The project that I am working on is required to monitor an email account for new messages. I am free to decide the formatting of these messages so that it will be easier to parse the information contained in them. (like [Request code: xxxxxxxxx])
Based on request codes, I need to send an email response to the original sender. I haven't done anything like that before. Please can you suggest any scheme/API/library/code snippet?
I am using:
- Microsoft exchange server (email will be received on an email account of this server)
- Visual Studio 2008 (C#)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
快速谷歌搜索给出了这个:
您还可以设置 POP3 网关并使用 POP3 收集电子邮件如果您是电子邮件/帐户的总所有者
编辑:如果安全不是问题,我也会清除任何附件,并将您的信息放入正文中
A quick google search gives this:
You could also setup a POP3 gateway and use POP3 to collect the email if you are the total owner of the email/account
EDIT: I would also stay clear of any attachments and just put your information in the body if security is not an issue
电子邮件 MimeTypes & 解析并不有趣,但如果您必须尝试: http://sourceforge.net/projects/hpop/< /a>
MSMQ 可能是更好的选择。
Email MimeTypes & Parsing is no fun, but if you have to try: http://sourceforge.net/projects/hpop/
A MSMQ might be a better alternative.