如何使用c#在Windows窗体中实现开源SMTP [英] How to implement a open source SMTP in windows forms using c#

查看:90
本文介绍了如何使用c#在Windows窗体中实现开源SMTP的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想知道有什么方法可以在Windows窗体中使用SMTP吗?

I would like to know that is there any way through which we can use SMTP in windows forms?

另外我只希望电子邮件发送功能属于SMTP但收件箱和登录皮肤是我的,而不是SMTP的默认皮肤。

Also i want only the email sending capability to be of the SMTP but the inbox and login skin to be mine and not the default skins of the SMTP.

如何使用c#

请尽快回复

推荐答案

嗨Nalin,

Hi Nalin,

使用发送电子邮件通过这些类可以很容易地使用SMTP服务器:

sending emails using a SMTP server is quite easy through the classes:

MailMessage( http://msdn.microsoft.com/en-us/library/system.net.mail.mailmessage.aspx

MailMessage (http://msdn.microsoft.com/en-us/library/system.net.mail.mailmessage.aspx)

SmtpClient( http://msdn.microsoft.com/en-us/library/system.net。 mail.smtpclient.aspx

SmtpClient (http://msdn.microsoft.com/en-us/library/system.net.mail.smtpclient.aspx)

MSDN Library甚至包含一些简单的解释,当然还包括:没有像GPL这样的开源许可证。

The MSDN Library even contains some simple explanations and of course: No Open Source License like GPL or so included.

如果您需要更多关于SMTP的信息:可以在codeproject.com上搜索,你会发现很多关于不同主题的文章。

If you need more regarding SMTP: Feel free to search at codeproject.com and you will find a lot of articles about diferent other topics.

With亲切的问候,

With kind regards,

Konrad


这篇关于如何使用c#在Windows窗体中实现开源SMTP的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆