如何用C#发送电子邮件 [英] How Do I send an E-mail in C#

查看:86
本文介绍了如何用C#发送电子邮件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想发送一封带有C#的电子邮件到一个电子邮件地址。

I want to send an e-mail with C# to a an e-mail address.

推荐答案

请阅读上一个回答以了解这一点,你会学习这个。 使用C#中的SMTP发送电子邮件 [ ^ ]



无论如何,您应该学习SMTP设置以及使用此协议发送电子邮件的方法。 此MSDN文档 [ ^ ]是一个开始。
Please read this previous answer to learn on this, you would learn this. Send Email using SMTP in C#[^]

Anyways, you should learn the SMTP settings and the methods to use this protocol for sending the emails. This MSDN documentation[^] is a start for that.


这篇关于如何用C#发送电子邮件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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