---
title: "Discussion on \"使用System.Net.Mail通过gmail发送电子邮件\" | Hashnode"
description: "Discussion on \"使用System.Net.Mail通过gmail发送电子邮件\". gmail的smtp采用了ssl连接: Outgoing Mail (SMTP) Server - requires TLS: smtp.gmail.com (use authentication) Use Authentication: Yes Use STARTTLS: Yes (some clients call this SSL) Port: 465 or 587 代码：\nusing System;\nusing System.Collections.Generic;\nusing Syst..."
url: "https://hashnode.com/posts/systemnetmailgmail/628d95eabc26026fa45c5610"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [使用System.Net.Mail通过gmail发送电子邮件](https://www.topzs.com/systemnetmailgmail?utm_source=hashnode&utm_medium=feed)

gmail的smtp采用了ssl连接: Outgoing Mail (SMTP) Server - requires TLS: smtp.gmail.com (use authentication) Use Authentication: Yes Use STARTTLS: Yes (some clients call this SSL) Port: 465 or 587 代码： using System; using System.Collections.Generic; using Syst...

Mar 25, 2010 · 2 min read · topzs.com  
Read the article

## Written by

[Topaz](https://hashnode.com/@tangchang)

@tangchang

  
[View profile](https://hashnode.com/@tangchang)

Front-end development

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
