简体   繁体   English

c# imap/pop3 邮件服务器

[英]c# imap/pop3 mail server

I have searched all over the web for a solution for this situation.我已经在 web 中搜索了针对这种情况的解决方案。 I created an application using a PowerTCP component to receive and change mails(Imap/pop3) I created a new object for them and now all I want is to create a server* (Mail Server) * that uses Imap or pop3 mails to receive and sends mails with SMTP.我使用 PowerTCP 组件创建了一个应用程序来接收和更改邮件(Imap/pop3) 我为他们创建了一个新的 object 现在我想要创建一个服务器* (邮件服务器) *,它使用 Imap 或 pop3 邮件来接收和使用 SMTP 发送邮件。 I know that I need to use specific ports for it.我知道我需要为此使用特定的端口。 What I want to know is how can I create an imap/pop3 object from my C# object(my class, properties, ext) using c# to send to the client email application (like outlook). What I want to know is how can I create an imap/pop3 object from my C# object(my class, properties, ext) using c# to send to the client email application (like outlook). I searched a lot for this and found nothing.我为此搜索了很多,但一无所获。 I don't want to use any "close" server application for this because that I want to change Do I need to create it from the beginning or there is any ready to use solution for this.我不想为此使用任何“关闭”服务器应用程序,因为我想更改我是否需要从头开始创建它,或者有任何现成的解决方案。 do you have any suggestion code template ext...你有任何建议代码模板分机...

TIA Michal TIA 迈克尔

Check out this site, it has examples of how to implement SMTP/POP看看这个网站,它有如何实现 SMTP/POP 的例子

http://www.codeproject.com/KB/IP/Pop3MailClient.aspx http://www.codeproject.com/KB/IP/Pop3MailClient.aspx

C#'s built in classes are pretty stable, use SMTP and POP3. C# 的内置类非常稳定,使用 SMTP 和 POP3。

Good luck!祝你好运!

I believe S22.Imap is the most popular general IMAP protocol API in Nuget.我相信S22.Imap是Nuget中最流行的通用IMAP协议API。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM