一套 .NET開發(fā)的郵箱Mail開源庫
當(dāng)前位置:點(diǎn)晴教程→知識管理交流
→『 技術(shù)文檔交流 』
郵箱在我們?nèi)粘9ぷ髦?,可以說是非常常見了。個(gè)人郵箱一般都是免費(fèi)的,但企業(yè)郵箱會(huì)收費(fèi),雖然一般情況下,市面郵箱已經(jīng)夠用了。但有些企業(yè)對內(nèi)容安全要求比較嚴(yán)格、或者需要搭建郵件營銷系統(tǒng)等一些場景下,我們就需要開發(fā)自己的郵箱系統(tǒng)。項(xiàng)目簡介技術(shù)架構(gòu)項(xiàng)目結(jié)構(gòu)Pop3Client pop = new Pop3Client(); pop.Connect("mail.myhost.com"); Pop3Client pop = new Pop3Client(); pop.Connect("mail.myhost.com"); pop.Authenticate("user","pass",SASLMechanism.CramMd5); pop.Disconnect(); Pop3Client pop = new Pop3Client(); pop.Connect("mail.myhost.com","user","pass"); string response = pop.Command("XANYCOMMAND anyarguments"); pop.Disconnect(); Pop3Client pop = new Pop3Client(); pop.Connect("pop.myisp.com","username","password"); pop.deleteMessage(1); pop.Disconnect(); Pop3Client pop = new Pop3Client(); pop.Connect("mail.myhost.com","user","pass"); byte[] messageData = pop.RetrieveMessage(1); pop.Disconnect(); Pop3Client pop = new Pop3Client(); pop.Connect("mail.myhost.com","user","pass"); pop.StoreMessage(1,"C:\\My headers\\myheader.eml"); pop.Disconnect();
- End - 該文章在 2023/8/11 10:07:00 編輯過 |
關(guān)鍵字查詢
相關(guān)文章
正在查詢... |