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

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

      1. <small id='n3Etd'></small><noframes id='n3Etd'>

        <legend id='n3Etd'><style id='n3Etd'><dir id='n3Etd'><q id='n3Etd'></q></dir></style></legend>

        Zend 邮件 Gmail SMTP

        Zend Mail Gmail SMTP(Zend 邮件 Gmail SMTP)

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

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

                  本文介绍了Zend 邮件 Gmail SMTP的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  我正在尝试从 Zend_Mail 模块通过 gmail 发送一些电子邮件.这是我的代码:

                  Hi I'm trying to send some emails via gmail from the Zend_Mail module. This is my code:

                  $config = array(
                      'ssl' => 'tls',
                      'port' => 587,
                      'auth' => 'login',
                      'username' => 'webmaster@mydomain.com',
                      'password' => 'password'
                  );
                  $smtpConnection = new Zend_Mail_Transport_Smtp('smtp.gmail.com', $config);
                  

                  错误:

                  警告:stream_socket_enable_crypto() [streams.crypto]:该流在第 206 行的/library/Zend/Mail/Protocol/Smtp.php 中不支持 SSL/crypto无法通过 TLS 连接

                  我尝试告诉我的托管服务提供商在 phi.ini 中启用 openssl.dll

                  I tried telling my hosting provider to enable the openssl.dll in phi.ini

                  但他们说这不是必需的,因为服务器在 Linux 中并且不需要启用 openssl.dll 来使用 TLS 或 SSL.

                  But they say that isn't necessary since the server is in Linux and it doesn't need to enable the openssl.dll to work with TLS or SSL.

                  是我的托管服务提供商错了还是我在代码中做错了.

                  Is my hosting provider wrong or I'm I doing something wrong in my code.

                  提前致谢

                  费边

                  推荐答案

                  openssl.dll 是 windows openssl 扩展.

                  openssl.dll is the windows openssl extension.

                  在 Linux 上,您需要使用 OpenSSL 支持编译 PHP.http://www.php.net/manual/en/openssl.installation.php

                  On Linux you need to compile PHP with OpenSSL support. http://www.php.net/manual/en/openssl.installation.php

                  您需要 OpenSSL for PHP 套接字和流函数才能使用 TLS.Zend 使用这些函数,因此需要相同的函数.

                  You need OpenSSL for PHP sockets and stream functions to use TLS. Zend uses these functions and thus require the same.

                  这篇关于Zend 邮件 Gmail SMTP的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

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

                  相关文档推荐

                  DeepL的翻译效果还是很强大的,如果我们要用php实现DeepL翻译调用,该怎么办呢?以下是代码示例,希望能够帮到需要的朋友。 在这里需要注意,这个DeepL的账户和api申请比较难,不支持中国大陆申请,需要拥有香港或者海外信用卡才行,没账号的话,目前某宝可以
                  PHP通过phpspreadsheet导入Excel日期,导入系统后,全部变为了4开头的几位数字,这是为什么呢?原因很简单,将Excel的时间设置问文本,我们就能看到该日期本来的数值,上图对应的数值为: 要怎么解决呢?进行数据转换就行,这里可以封装方法,或者用第三方的
                  mediatemple - can#39;t send email using codeigniter(mediatemple - 无法使用 codeigniter 发送电子邮件)
                  Laravel Gmail Configuration Error(Laravel Gmail 配置错误)
                  Problem with using PHPMailer for SMTP(将 PHPMailer 用于 SMTP 的问题)
                  Issue on how to setup SMTP using PHPMailer in GoDaddy server(关于如何在 GoDaddy 服务器中使用 PHPMailer 设置 SMTP 的问题)

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

                        <tbody id='69zAR'></tbody>
                          <bdo id='69zAR'></bdo><ul id='69zAR'></ul>
                          <legend id='69zAR'><style id='69zAR'><dir id='69zAR'><q id='69zAR'></q></dir></style></legend>

                          1. <small id='69zAR'></small><noframes id='69zAR'>