电子邮件客户端下载并保存带有附件的电子邮件(eml或msg) [英] Email client download and save email with attachments(eml or msg)
本文介绍了电子邮件客户端下载并保存带有附件的电子邮件(eml或msg)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
任何人都可以向我索要一个代码,以便从服务器下载电子邮件并将其保存为带有附件的eml或msg格式.我需要在不使用任何商业支持的情况下进行操作.
vb.net或c#.net
抱歉,第一次没有具体说明.应用程序/代码应将电子邮件(POP)保存到文件夹(不在客户端中)
整个想法是一个程序,该程序从pop3服务器获取电子邮件(带有附件),并以eml格式保存在文件夹中.
谢谢
Can anybody sugest me a code to download emails from a server and saving them in eml or msg format with attachments. I need to do it without using any commercial componants.
vb.net or c#.net
Sorry not being specific on the question firsttime. The application/code should save emails (POP) to folder(not in the client)
Whole idea is a program getting emails(with attachments) from a pop3 server and saving as eml format in a folder.
Thanks
推荐答案
如果您使用的是Outlook,则可以使用Interop.请参阅: Outlook对象模型概述 [ http://sourceforge.net/projects/imapnet/ [
If you''re using Outlook, you could use Interop. See: Outlook Object Model Overview[^]
For IMAP, perhaps this would be useful: http://sourceforge.net/projects/imapnet/[^]
如果您打算通过代码进行此操作使用基本的POP协议,那么您应该阅读此 [
If you plan to do this via code using the basic POP protocol then you should read this[^].
这篇关于电子邮件客户端下载并保存带有附件的电子邮件(eml或msg)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文