实例介绍
用C#实现的通过imap邮件协议从邮件系统下载想要的附件,从而实现附件整理的小工具。
【实例截图】
【核心代码】
.
├── C#用imap下载邮件附件_KliveMailHelper.rar
└── KliveMailHelper
├── doc
│ └── 产品需求文档
│ ├── 快盘附件精灵.doc
│ ├── 用户简单分析.doc
│ ├── 快盘附件精灵草图.doc
│ ├── 用户信息收集问卷.doc
│ └── 快盘附件精灵草图.jnt
└── source
├── KliveMailHelper
│ ├── IMAP
│ │ ├── Helper.cs
│ │ ├── ImapAddress.cs
│ │ ├── ImapAddressCollection.cs
│ │ ├── ImapAddressList.cs
│ │ ├── ImapAuthenticate.cs
│ │ ├── ImapCommand.cs
│ │ ├── ImapConnect.cs
│ │ ├── ImapDecode.cs
│ │ ├── ImapEnumerators.cs
│ │ ├── ImapException.cs
│ │ ├── ImapFolder.cs
│ │ ├── ImapFolderNode.cs
│ │ ├── ImapFolderNodeList.cs
│ │ ├── ImapMailbox.cs
│ │ ├── ImapMailboxMessage.cs
│ │ ├── ImapMailboxMessageComparer.cs
│ │ ├── ImapMessageBodyPart.cs
│ │ ├── ImapMessageBodyPartList.cs
│ │ ├── ImapMessageFlags.cs
│ │ ├── KliveMailHelper.Imap.csproj
│ │ ├── KliveMailHelper.Imap.csproj.user
│ │ ├── Properties
│ │ │ └── AssemblyInfo.cs
│ │ ├── RegEx
│ │ │ ├── Fetch.cs
│ │ │ └── Mailbox.cs
│ │ ├── bin
│ │ │ ├── Debug
│ │ │ │ ├── KlilveMailHelper.Imap.dll
│ │ │ │ ├── KlilveMailHelper.Imap.pdb
│ │ │ │ ├── KlilveMailHelper.Imap.xml
│ │ │ │ └── Koolwired.Imap.XML
│ │ │ └── Release
│ │ └── obj
│ │ └── Debug
│ │ ├── KlilveMailHelper.Imap.dll
│ │ ├── KlilveMailHelper.Imap.pdb
│ │ ├── KliveMailHelper.Imap.csproj.FileListAbsolute.txt
│ │ ├── Koolwired.Imap.csproj.FileListAbsolute.txt
│ │ └── TempPE
│ ├── KliveMailHelper
│ │ ├── Core
│ │ │ ├── Attachment.cs
│ │ │ ├── Helper.cs
│ │ │ ├── KmhException.cs
│ │ │ ├── MailHelperCore.cs
│ │ │ ├── UserAccount.cs
│ │ │ └── WellKnownMailServices.cs
│ │ ├── KliveMailHelper.csproj
│ │ ├── Properties
│ │ │ ├── AssemblyInfo.cs
│ │ │ ├── Resources.Designer.cs
│ │ │ ├── Resources.resx
│ │ │ ├── Settings.Designer.cs
│ │ │ └── Settings.settings
│ │ ├── Res
│ │ │ ├── Search.jpg
│ │ │ └── mail.jpg
│ │ ├── UI
│ │ │ ├── AccountDlg.Designer.cs
│ │ │ ├── AccountDlg.cs
│ │ │ ├── AccountDlg.resx
│ │ │ ├── FormMain.Designer.cs
│ │ │ ├── FormMain.cs
│ │ │ ├── FormMain.resx
│ │ │ ├── Program.cs
│ │ │ └── ProgressColumn.cs
│ │ ├── bin
│ │ │ └── Debug
│ │ │ ├── KlilveMailHelper.Imap.dll
│ │ │ ├── KlilveMailHelper.Imap.pdb
│ │ │ ├── KlilveMailHelper.Imap.xml
│ │ │ ├── KliveMailHelper.exe
│ │ │ ├── KliveMailHelper.pdb
│ │ │ ├── KliveMailHelper.vshost.exe
│ │ │ └── KliveMailHelper.vshost.exe.manifest
│ │ └── obj
│ │ └── Debug
│ │ ├── KliveMailHelper.Properties.Resources.resources
│ │ ├── KliveMailHelper.UI.AccountDlg.resources
│ │ ├── KliveMailHelper.UI.FormMain.resources
│ │ ├── KliveMailHelper.csproj.FileListAbsolute.txt
│ │ ├── KliveMailHelper.csproj.GenerateResource.Cache
│ │ ├── KliveMailHelper.exe
│ │ ├── KliveMailHelper.pdb
│ │ ├── Refactor
│ │ ├── ResolveAssemblyReference.cache
│ │ └── TempPE
│ │ └── Properties.Resources.Designer.cs.dll
│ ├── KliveMailHelper.sln
│ ├── KliveMailHelper.suo
│ ├── UnitTest
│ │ ├── CaseAttachment.cs
│ │ ├── CaseImapFullConnection.cs
│ │ ├── CaseImapMailbox.cs
│ │ ├── CaseKliveMailHelperCore.cs
│ │ ├── CaseUserAccount.cs
│ │ ├── CaseWellKnownMailServices.cs
│ │ ├── ConnectionGUI.Designer.cs
│ │ ├── ConnectionGUI.cs
│ │ ├── ConnectionGUI.resx
│ │ ├── KliveMailHelper.UnitTest.csproj
│ │ ├── KliveMailHelper.UnitTest.csproj.user
│ │ ├── MailboxGUI.Designer.cs
│ │ ├── MailboxGUI.cs
│ │ ├── MailboxGUI.resx
│ │ ├── Properties
│ │ │ └── AssemblyInfo.cs
│ │ ├── Utils.cs
│ │ ├── bin
│ │ │ └── Debug
│ │ │ ├── KlilveMailHelper.Imap.dll
│ │ │ ├── KlilveMailHelper.Imap.pdb
│ │ │ ├── KlilveMailHelper.Imap.xml
│ │ │ ├── KliveMailHelper.exe
│ │ │ ├── KliveMailHelper.pdb
│ │ │ ├── TestResult.xml
│ │ │ ├── UnitTest.dll
│ │ │ ├── UnitTest.dll.VisualState.xml
│ │ │ ├── UnitTest.pdb
│ │ │ ├── nunit.framework.dll
│ │ │ └── nunit.framework.xml
│ │ └── obj
│ │ └── Debug
│ │ ├── KliveMailHelper.UnitTest.csproj.FileListAbsolute.txt
│ │ ├── KliveMailHelper.UnitTest.csproj.GenerateResource.Cache
│ │ ├── ResolveAssemblyReference.cache
│ │ ├── TempPE
│ │ ├── UnitTest.ConnectionGUI.resources
│ │ ├── UnitTest.MailboxGUI.resources
│ │ ├── UnitTest.csproj.FileListAbsolute.txt
│ │ ├── UnitTest.csproj.GenerateResource.Cache
│ │ ├── UnitTest.dll
│ │ └── UnitTest.pdb
│ ├── include
│ │ ├── WTL80
│ │ │ ├── include
│ │ │ │ ├── atlapp.h
│ │ │ │ ├── atlcrack.h
│ │ │ │ ├── atlctrls.h
│ │ │ │ ├── atlctrlw.h
│ │ │ │ ├── atlctrlx.h
│ │ │ │ ├── atlddx.h
│ │ │ │ ├── atldlgs.h
│ │ │ │ ├── atlfind.h
│ │ │ │ ├── atlframe.h
│ │ │ │ ├── atlgdi.h
│ │ │ │ ├── atlmisc.h
│ │ │ │ ├── atlprint.h
│ │ │ │ ├── atlres.h
│ │ │ │ ├── atlresce.h
│ │ │ │ ├── atlscrl.h
│ │ │ │ ├── atlsplit.h
│ │ │ │ ├── atltheme.h
│ │ │ │ ├── atluser.h
│ │ │ │ ├── atlwince.h
│ │ │ │ └── atlwinx.h
│ │ │ └── readme.htm
│ │ └── errorcheck.h
│ └── klivemailhelpershellext
│ ├── klivemailhelpershellext
│ │ ├── KliveMailContextMenuImpl.rgs
│ │ ├── ReadMe.txt
│ │ ├── contextmenu
│ │ │ ├── KliveMailContextMenuImpl.cpp
│ │ │ └── KliveMailContextMenuImpl.h
│ │ ├── dlldata.c
│ │ ├── dllmain.cpp
│ │ ├── dllmain.h
│ │ ├── klivemailhelpershellext.aps
│ │ ├── klivemailhelpershellext.cpp
│ │ ├── klivemailhelpershellext.def
│ │ ├── klivemailhelpershellext.idl
│ │ ├── klivemailhelpershellext.rc
│ │ ├── klivemailhelpershellext.rgs
│ │ ├── klivemailhelpershellext.vcproj
│ │ ├── klivemailhelpershellext.vcproj.KINGSOFT-688D6A.Administrator.user
│ │ ├── klivemailhelpershellextPS.vcproj
│ │ ├── klivemailhelpershellextPS.vcproj.KINGSOFT-688D6A.Administrator.user
│ │ ├── klivemailhelpershellext_i.c
│ │ ├── klivemailhelpershellext_i.h
│ │ ├── klivemailhelpershellext_p.c
│ │ ├── klivemailhelpershellextps.def
│ │ ├── resource
│ │ │ └── resource.h
│ │ ├── stdafx.cpp
│ │ ├── stdafx.h
│ │ └── targetver.h
│ ├── klivemailhelpershellext.sln
│ └── klivemailhelpershellext.suo
└── NUnit
├── NUnitFitTests.html
├── NUnitTests.config
├── NUnitTests.nunit
├── addins
├── agent.conf
├── framework
│ ├── nunit.framework.dll
│ ├── nunit.framework.xml
│ ├── nunit.mocks.dll
│ └── pnunit.framework.dll
├── lib
│ ├── failure.png
│ ├── fit.dll
│ ├── ignored.png
│ ├── inconclusive.png
│ ├── log4net.dll
│ ├── nunit-console-runner.dll
│ ├── nunit-gui-runner.dll
│ ├── nunit.core.dll
│ ├── nunit.core.interfaces.dll
│ ├── nunit.fixtures.dll
│ ├── nunit.uiexception.dll
│ ├── nunit.uikit.dll
│ ├── nunit.util.dll
│ ├── skipped.png
│ └── success.png
├── nunit-agent-x86.exe
├── nunit-agent-x86.exe.config
├── nunit-agent.exe
├── nunit-agent.exe.config
├── nunit-console-x86.exe
├── nunit-console-x86.exe.config
├── nunit-console.exe
├── nunit-console.exe.config
├── nunit-x86.exe
├── nunit-x86.exe.config
├── nunit.exe
├── nunit.exe.config
├── pnunit-agent.exe
├── pnunit-agent.exe.config
├── pnunit-launcher.exe
├── pnunit-launcher.exe.config
├── runFile.exe
├── runFile.exe.config
├── test.conf
└── tests
├── loadtest-assembly.dll
├── mock-assembly.dll
├── nonamespace-assembly.dll
├── nunit-console.tests.dll
├── nunit-gui.tests.dll
├── nunit.core.tests.dll
├── nunit.fixtures.tests.dll
├── nunit.framework.dll
├── nunit.framework.tests.dll
├── nunit.mocks.tests.dll
├── nunit.uiexception.tests.dll
├── nunit.uikit.tests.dll
├── nunit.util.tests.dll
├── test-assembly.dll
├── test-utilities.dll
└── timing-tests.dll
44 directories, 221 files
小贴士
感谢您为本站写下的评论,您的评论对其它用户来说具有重要的参考价值,所以请认真填写。
- 类似“顶”、“沙发”之类没有营养的文字,对勤劳贡献的楼主来说是令人沮丧的反馈信息。
- 相信您也不想看到一排文字/表情墙,所以请不要反馈意义不大的重复字符,也请尽量不要纯表情的回复。
- 提问之前请再仔细看一遍楼主的说明,或许是您遗漏了。
- 请勿到处挖坑绊人、招贴广告。既占空间让人厌烦,又没人会搭理,于人于己都无利。
关于好例子网
本站旨在为广大IT学习爱好者提供一个非营利性互相学习交流分享平台。本站所有资源都可以被免费获取学习研究。本站资源来自网友分享,对搜索内容的合法性不具有预见性、识别性、控制性,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,平台无法对用户传输的作品、信息、内容的权属或合法性、安全性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论平台是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二与二十三条之规定,若资源存在侵权或相关问题请联系本站客服人员,点此联系我们。关于更多版权及免责申明参见 版权及免责申明
网友评论
我要评论