• <small id='GYt2S'></small><noframes id='GYt2S'>

      • <bdo id='GYt2S'></bdo><ul id='GYt2S'></ul>
      <tfoot id='GYt2S'></tfoot>

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

        SMTP 服务器需要安全连接或客户端未通过身份验证.

        The SMTP server requires a secure connection or the client was not authenticated.(SMTP 服务器需要安全连接或客户端未通过身份验证.)
          <bdo id='drl7J'></bdo><ul id='drl7J'></ul>

            <tbody id='drl7J'></tbody>
        • <legend id='drl7J'><style id='drl7J'><dir id='drl7J'><q id='drl7J'></q></dir></style></legend>

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

                <tfoot id='drl7J'></tfoot>
                  本文介绍了SMTP 服务器需要安全连接或客户端未通过身份验证.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  我正在使用 asp 中的createuserwizard"创建一个表单.这是我的代码.

                  I am creating a form using "createuserwizard" in asp.This is my code.

                  <asp:CreateUserWizard ID="userwizard" ContinueDestinationPageUrl="~/secretfiles/secret.aspx" runat="server" >
                      <MailDefinition BodyFileName="register.txt" Subject="Registration Confirmation" From="amrit.enest@gmail.com" />
                      </asp:CreateUserWizard>
                  

                  这是我的 web.config 文件设置.

                  This is my web.config file settings.

                   <mailSettings>
                        <smtp deliveryMethod="Network" from="amrit.enest@gmail.com">
                          <network host="smtp.gmail.com" port="25" userName="amrit.enest@gmail.com" password="sending emails's password" />
                        </smtp>
                      </mailSettings>
                  

                  然后设置了一个 Smtp.在 ISS 设置中我选择了以下选项.

                  Then settled up a Smtp .in ISS settings i selected following options.

                  ->Use localhost(SMTP)
                  ->port=25
                  ->authentication not required 
                  

                  现在当一个新用户点击提交按钮时,它会给出以下错误消息并且邮件没有被发送.

                  Now when a new user click submit button ,it gives following error message and mail is not being send.

                  SMTP 服务器需要安全连接或客户端未通过身份验证.服务器响应是: 5.7.0 必须首先发出 STARTTLS 命令.ud8sm21095949igb.4

                  请大家帮忙.

                  推荐答案

                  使用enableSsl="true",像这样:

                   <mailSettings>
                    <smtp deliveryMethod="Network" from="amrit.enest@gmail.com">
                      <network enableSsl="true" host="smtp.gmail.com" port="25" userName="amrit.enest@gmail.com" password="sending emails's password" />
                    </smtp>
                  </mailSettings>
                  

                  这篇关于SMTP 服务器需要安全连接或客户端未通过身份验证.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  本站部分内容来源互联网,如果有图片或者内容侵犯了您的权益,请联系我们,我们会在确认后第一时间进行删除!

                  相关文档推荐

                  Populate ListBox with a IEnumrable on another thread (winforms)(在另一个线程(winforms)上使用 IEnumrable 填充 ListBox)
                  listbox selected item give me quot; System.Data.DataRowViewquot; , C# winforms(列表框选择的项目给我quot;System.Data.DataRowView, C# Winforms)
                  Cannot remove items from ListBox(无法从列表框中删除项目)
                  Preventing ListBox scrolling to top when updated(更新时防止列表框滚动到顶部)
                  Drag and drop from list to canvas on windows phone with MVVM(使用 MVVM 在 Windows 手机上从列表拖放到画布)
                  Deselection on a WPF listbox with extended selection mode(具有扩展选择模式的 WPF 列表框上的取消选择)

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

                      <legend id='dtPUK'><style id='dtPUK'><dir id='dtPUK'><q id='dtPUK'></q></dir></style></legend>
                    • <tfoot id='dtPUK'></tfoot>
                        <tbody id='dtPUK'></tbody>

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