<bdo id='tTIXv'></bdo><ul id='tTIXv'></ul>

  1. <tfoot id='tTIXv'></tfoot>
  2. <i id='tTIXv'><tr id='tTIXv'><dt id='tTIXv'><q id='tTIXv'><span id='tTIXv'><b id='tTIXv'><form id='tTIXv'><ins id='tTIXv'></ins><ul id='tTIXv'></ul><sub id='tTIXv'></sub></form><legend id='tTIXv'></legend><bdo id='tTIXv'><pre id='tTIXv'><center id='tTIXv'></center></pre></bdo></b><th id='tTIXv'></th></span></q></dt></tr></i><div id='tTIXv'><tfoot id='tTIXv'></tfoot><dl id='tTIXv'><fieldset id='tTIXv'></fieldset></dl></div>

    <small id='tTIXv'></small><noframes id='tTIXv'>

      <legend id='tTIXv'><style id='tTIXv'><dir id='tTIXv'><q id='tTIXv'></q></dir></style></legend>
    1. 是否有用于通过代理发送电子邮件的 .NET 库?

      时间:2023-10-05

        <bdo id='mWGRE'></bdo><ul id='mWGRE'></ul>
      • <legend id='mWGRE'><style id='mWGRE'><dir id='mWGRE'><q id='mWGRE'></q></dir></style></legend>
              <tbody id='mWGRE'></tbody>
            <tfoot id='mWGRE'></tfoot>

            <small id='mWGRE'></small><noframes id='mWGRE'>

                <i id='mWGRE'><tr id='mWGRE'><dt id='mWGRE'><q id='mWGRE'><span id='mWGRE'><b id='mWGRE'><form id='mWGRE'><ins id='mWGRE'></ins><ul id='mWGRE'></ul><sub id='mWGRE'></sub></form><legend id='mWGRE'></legend><bdo id='mWGRE'><pre id='mWGRE'><center id='mWGRE'></center></pre></bdo></b><th id='mWGRE'></th></span></q></dt></tr></i><div id='mWGRE'><tfoot id='mWGRE'></tfoot><dl id='mWGRE'><fieldset id='mWGRE'></fieldset></dl></div>
              1. 本文介绍了是否有用于通过代理发送电子邮件的 .NET 库?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                问题描述

                我想通过 Visual Studio 上的代理通过 SMTP 发送电子邮件.是否有任何支持代理的电子邮件发送库?

                I want to send email via SMTP via proxy on visual studio. Is there any email sending library which would support proxy ?

                推荐答案

                我不确定你在问什么.

                当您谈到通过代理发送时,您能提供更多细节吗?

                When you talk about sending via a proxy can you give more detail?

                如果您的意思是我如何通过 HTTP 代理发送 SMTP",则不能.HTTP 代理仅支持 HTTP 和 HTTPS,虽然一些代理服务器也支持 FTP、SOCKS 等,但不支持(据我所知)SMTP.

                If you mean "how do I send SMTP over an HTTP proxy", you can't. HTTP proxies only support HTTP and HTTPS, although some proxy servers also support FTP, SOCKS, etc but not (as far as I know) SMTP.

                有 SMTP 代理之类的东西,但我认为它们并不常见;我认为它们都是专有的实现.我当然没有见过处理这种代理的 C# 库,而且我不认为有一个单一的标准 - 我找不到指定标准的 RFC(或等效文档).

                There is a such a thing as an SMTP proxy but I don't think they are very common; I think they are all proprietary implementations. I certainly have not seen a C# library to handle such a proxy, and I don't think there is a single standard for this - I've failed to find an RFC (or equivalent document) that specifies the standard.

                与使用 SMTP 代理不同,使用存储转发"邮件传输代理 (MTA) 更为正常.换句话说,您将设置一个普通的 MTA,并让它接收电子邮件并将它们转发到其他 MTA.如果您的设置是这种情况,则不需要特殊的代码或库.只需使用 SmtpMail 类将您的电子邮件直接发送到您当地的 MTA,而不必担心它实际上是在充当转发器"

                Instead of using an SMTP proxy, It is more normal to have a "store-and-forward" mail transfer agent (MTA). In other words you would set up a normal MTA, and have this receive emails and forward them on to other MTAs. If this is the case in your setup, there is no special code or libraries required. Just sending your email direct to your local MTA using the SmtpMail class and not worry about the fact it is really acting as a "forwarder"

                这篇关于是否有用于通过代理发送电子邮件的 .NET 库?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                上一篇:使用 SMTP 发送电子邮件并控制发件人地址 下一篇:从 C# 程序发送邮件时访问被拒绝

                相关文章

                  <bdo id='53H0S'></bdo><ul id='53H0S'></ul>
                <legend id='53H0S'><style id='53H0S'><dir id='53H0S'><q id='53H0S'></q></dir></style></legend>

                <small id='53H0S'></small><noframes id='53H0S'>

              2. <tfoot id='53H0S'></tfoot>
                    <i id='53H0S'><tr id='53H0S'><dt id='53H0S'><q id='53H0S'><span id='53H0S'><b id='53H0S'><form id='53H0S'><ins id='53H0S'></ins><ul id='53H0S'></ul><sub id='53H0S'></sub></form><legend id='53H0S'></legend><bdo id='53H0S'><pre id='53H0S'><center id='53H0S'></center></pre></bdo></b><th id='53H0S'></th></span></q></dt></tr></i><div id='53H0S'><tfoot id='53H0S'></tfoot><dl id='53H0S'><fieldset id='53H0S'></fieldset></dl></div>