• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

PHP Swift_Transport_Esmtp_AuthHandler类代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

本文整理汇总了PHP中Swift_Transport_Esmtp_AuthHandler的典型用法代码示例。如果您正苦于以下问题:PHP Swift_Transport_Esmtp_AuthHandler类的具体用法?PHP Swift_Transport_Esmtp_AuthHandler怎么用?PHP Swift_Transport_Esmtp_AuthHandler使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。



在下文中一共展示了Swift_Transport_Esmtp_AuthHandler类的11个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的PHP代码示例。

示例1: getSwiftmailer_Mailer_Default_TransportService

 protected function getSwiftmailer_Mailer_Default_TransportService()
 {
     $a = new \Swift_Transport_Esmtp_AuthHandler(array(0 => $this->get('d7b86ba75496549983e49587f82792eac0988f5ebef144382419adbfa6a6b9ca_1'), 1 => $this->get('d7b86ba75496549983e49587f82792eac0988f5ebef144382419adbfa6a6b9ca_2'), 2 => $this->get('d7b86ba75496549983e49587f82792eac0988f5ebef144382419adbfa6a6b9ca_3')));
     $a->setUsername('[email protected]');
     $a->setPassword('Alaa_Essam');
     $a->setAuthMode('login');
     $this->services['swiftmailer.mailer.default.transport'] = $instance = new \Swift_Transport_EsmtpTransport(new \Swift_Transport_StreamBuffer(new \Swift_StreamFilters_StringReplacementFilterFactory()), array(0 => $a), new \Swift_Events_SimpleEventDispatcher());
     $instance->setHost('smtp.gmail.com');
     $instance->setPort(465);
     $instance->setEncryption('ssl');
     $instance->setTimeout(30);
     $instance->setSourceIp(NULL);
     return $instance;
 }
开发者ID:EssamKhaled,项目名称:tawsella,代码行数:14,代码来源:appProdProjectContainer.php


示例2: getSwiftmailer_Mailer_Default_Transport_RealService

 /**
  * Gets the 'swiftmailer.mailer.default.transport.real' service.
  *
  * This service is shared.
  * This method always returns the same instance of the service.
  *
  * @return Swift_Transport_EsmtpTransport A Swift_Transport_EsmtpTransport instance.
  */
 protected function getSwiftmailer_Mailer_Default_Transport_RealService()
 {
     $a = new \Swift_Transport_Esmtp_AuthHandler(array(0 => $this->get('46cbd63436e465b18ec2a50667ada6636c98279b00750e21b89af051b375b1ac_1'), 1 => $this->get('46cbd63436e465b18ec2a50667ada6636c98279b00750e21b89af051b375b1ac_2'), 2 => $this->get('46cbd63436e465b18ec2a50667ada6636c98279b00750e21b89af051b375b1ac_3')));
     $a->setUsername(NULL);
     $a->setPassword(NULL);
     $a->setAuthMode(NULL);
     $this->services['swiftmailer.mailer.default.transport.real'] = $instance = new \Swift_Transport_EsmtpTransport(new \Swift_Transport_StreamBuffer(new \Swift_StreamFilters_StringReplacementFilterFactory()), array(0 => $a), $this->get('swiftmailer.mailer.default.transport.eventdispatcher'));
     $instance->setHost('127.0.0.1');
     $instance->setPort(25);
     $instance->setEncryption(NULL);
     $instance->setTimeout(30);
     $instance->setSourceIp(NULL);
     return $instance;
 }
开发者ID:jerroddevon,项目名称:Symfony,代码行数:22,代码来源:appDevDebugProjectContainer.php


示例3: getSwiftmailer_Mailer_Default_Transport_RealService

 protected function getSwiftmailer_Mailer_Default_Transport_RealService()
 {
     $a = new \Swift_Transport_Esmtp_AuthHandler(array(0 => $this->get('44ba1d576d4e73d4c05726f38cbae9f87927f30a955c4d0f8dbe6c3cacd524bb_1'), 1 => $this->get('44ba1d576d4e73d4c05726f38cbae9f87927f30a955c4d0f8dbe6c3cacd524bb_2'), 2 => $this->get('44ba1d576d4e73d4c05726f38cbae9f87927f30a955c4d0f8dbe6c3cacd524bb_3')));
     $a->setUsername(NULL);
     $a->setPassword(NULL);
     $a->setAuthMode(NULL);
     $this->services['swiftmailer.mailer.default.transport.real'] = $instance = new \Swift_Transport_EsmtpTransport(new \Swift_Transport_StreamBuffer(new \Swift_StreamFilters_StringReplacementFilterFactory()), array(0 => $a), $this->get('swiftmailer.mailer.default.transport.eventdispatcher'));
     $instance->setHost('127.0.0.1');
     $instance->setPort(25);
     $instance->setEncryption(NULL);
     $instance->setTimeout(30);
     $instance->setSourceIp(NULL);
     return $instance;
 }
开发者ID:NickPolyder,项目名称:WebVillas-Symfony2Edition-,代码行数:14,代码来源:appProdProjectContainer.php


示例4: getSwiftmailer_Mailer_Default_Transport_RealService

 protected function getSwiftmailer_Mailer_Default_Transport_RealService()
 {
     $a = new \Swift_Transport_Esmtp_AuthHandler(array(0 => new \Swift_Transport_Esmtp_Auth_CramMd5Authenticator(), 1 => new \Swift_Transport_Esmtp_Auth_LoginAuthenticator(), 2 => new \Swift_Transport_Esmtp_Auth_PlainAuthenticator()));
     $a->setUsername(NULL);
     $a->setPassword(NULL);
     $a->setAuthMode(NULL);
     $this->services['swiftmailer.mailer.default.transport.real'] = $instance = new \Swift_Transport_EsmtpTransport(new \Swift_Transport_StreamBuffer(new \Swift_StreamFilters_StringReplacementFilterFactory()), array(0 => $a), ${($_ = isset($this->services['swiftmailer.mailer.default.transport.eventdispatcher']) ? $this->services['swiftmailer.mailer.default.transport.eventdispatcher'] : $this->getSwiftmailer_Mailer_Default_Transport_EventdispatcherService()) && false ?: '_'});
     $instance->setHost('127.0.0.1');
     $instance->setPort(25);
     $instance->setEncryption(NULL);
     $instance->setTimeout(30);
     $instance->setSourceIp(NULL);
     (new \Symfony\Bundle\SwiftmailerBundle\DependencyInjection\SmtpTransportConfigurator(NULL, ${($_ = isset($this->services['router.request_context']) ? $this->services['router.request_context'] : $this->getRouter_RequestContextService()) && false ?: '_'}))->configure($instance);
     return $instance;
 }
开发者ID:naldz,项目名称:cyberden,代码行数:15,代码来源:appProdProjectContainer.php


示例5: getSwiftmailer_Mailer_Default_TransportService

 protected function getSwiftmailer_Mailer_Default_TransportService()
 {
     $a = new \Swift_Transport_Esmtp_AuthHandler(array(0 => new \Swift_Transport_Esmtp_Auth_CramMd5Authenticator(), 1 => new \Swift_Transport_Esmtp_Auth_LoginAuthenticator(), 2 => new \Swift_Transport_Esmtp_Auth_PlainAuthenticator()));
     $a->setUsername('[email protected]');
     $a->setPassword('OptimumDev12');
     $a->setAuthMode('login');
     $this->services['swiftmailer.mailer.default.transport'] = $instance = new \Swift_Transport_EsmtpTransport(new \Swift_Transport_StreamBuffer(new \Swift_StreamFilters_StringReplacementFilterFactory()), array(0 => $a), new \Swift_Events_SimpleEventDispatcher());
     $instance->setHost('smtp.gmail.com');
     $instance->setPort(465);
     $instance->setEncryption('ssl');
     $instance->setTimeout(30);
     $instance->setSourceIp(NULL);
     return $instance;
 }
开发者ID:Joomlamaster,项目名称:connectionru,代码行数:14,代码来源:appProdProjectContainer.php


示例6: getSwiftmailer_Mailer_Default_TransportService

 protected function getSwiftmailer_Mailer_Default_TransportService()
 {
     $a = new \Swift_Transport_Esmtp_AuthHandler(array(0 => new \Swift_Transport_Esmtp_Auth_CramMd5Authenticator(), 1 => new \Swift_Transport_Esmtp_Auth_LoginAuthenticator(), 2 => new \Swift_Transport_Esmtp_Auth_PlainAuthenticator()));
     $a->setUsername('ntcedisac\\dany');
     $a->setPassword('Stern0123');
     $a->setAuthMode(NULL);
     $this->services['swiftmailer.mailer.default.transport'] = $instance = new \Swift_Transport_EsmtpTransport(new \Swift_Transport_StreamBuffer(new \Swift_StreamFilters_StringReplacementFilterFactory()), array(0 => $a), new \Swift_Events_SimpleEventDispatcher());
     $instance->setHost('mail.citmatel.inf.cu');
     $instance->setPort(25);
     $instance->setEncryption(NULL);
     $instance->setTimeout(30);
     $instance->setSourceIp(NULL);
     return $instance;
 }
开发者ID:jorgemunoz8807,项目名称:ociosos,代码行数:14,代码来源:appProdProjectContainer.php


示例7: getSwiftmailer_Mailer_Default_Transport_RealService

 protected function getSwiftmailer_Mailer_Default_Transport_RealService()
 {
     $a = new \Swift_Transport_Esmtp_AuthHandler(array(0 => new \Swift_Transport_Esmtp_Auth_CramMd5Authenticator(), 1 => new \Swift_Transport_Esmtp_Auth_LoginAuthenticator(), 2 => new \Swift_Transport_Esmtp_Auth_PlainAuthenticator()));
     $a->setUsername('AKIAIR3T4SCMIWOTAOWA');
     $a->setPassword('Ap3rzxOaji8sJUduNAp1+yQf3jTFXudxsivCg/S760lE');
     $a->setAuthMode(NULL);
     $this->services['swiftmailer.mailer.default.transport.real'] = $instance = new \Swift_Transport_EsmtpTransport(new \Swift_Transport_StreamBuffer(new \Swift_StreamFilters_StringReplacementFilterFactory()), array(0 => $a), $this->get('swiftmailer.mailer.default.transport.eventdispatcher'));
     $instance->setHost('email-smtp.us-east-1.amazonaws.com');
     $instance->setPort(25);
     $instance->setEncryption('tls');
     $instance->setTimeout(30);
     $instance->setSourceIp(NULL);
     return $instance;
 }
开发者ID:austinpapp,项目名称:push-notifications-temp,代码行数:14,代码来源:appProdProjectContainer.php


示例8: getSwiftmailer_Mailer_Default_TransportService

 /**
  * Gets the 'swiftmailer.mailer.default.transport' service.
  *
  * This service is shared.
  * This method always returns the same instance of the service.
  *
  * @return \Swift_Transport_EsmtpTransport A Swift_Transport_EsmtpTransport instance.
  */
 protected function getSwiftmailer_Mailer_Default_TransportService()
 {
     $a = new \Swift_Transport_Esmtp_AuthHandler(array(0 => new \Swift_Transport_Esmtp_Auth_CramMd5Authenticator(), 1 => new \Swift_Transport_Esmtp_Auth_LoginAuthenticator(), 2 => new \Swift_Transport_Esmtp_Auth_PlainAuthenticator()));
     $a->setUsername('surendra.yallabandi');
     $a->setPassword('ammananna');
     $a->setAuthMode(NULL);
     $this->services['swiftmailer.mailer.default.transport'] = $instance = new \Swift_Transport_EsmtpTransport(new \Swift_Transport_StreamBuffer(new \Swift_StreamFilters_StringReplacementFilterFactory()), array(0 => $a), new \Swift_Events_SimpleEventDispatcher());
     $instance->setHost('mx.valuelabs.net');
     $instance->setPort(25);
     $instance->setEncryption(NULL);
     $instance->setTimeout(30);
     $instance->setSourceIp(NULL);
     $instance->registerPlugin($this->get('swiftmailer.mailer.default.plugin.messagelogger'));
     return $instance;
 }
开发者ID:pavsuri,项目名称:PARMT,代码行数:23,代码来源:appDevDebugProjectContainer.php


示例9: getSwiftmailer_Mailer_Default_TransportService

 /**
  * Gets the 'swiftmailer.mailer.default.transport' service.
  *
  * This service is shared.
  * This method always returns the same instance of the service.
  *
  * @return Swift_Transport_EsmtpTransport A Swift_Transport_EsmtpTransport instance.
  */
 protected function getSwiftmailer_Mailer_Default_TransportService()
 {
     $a = new \Swift_Transport_Esmtp_AuthHandler(array(0 => $this->get('8677a13097c08f1070836dd4b85181f37aca11f7f70f281f9f1d6b015506d02f_1'), 1 => $this->get('8677a13097c08f1070836dd4b85181f37aca11f7f70f281f9f1d6b015506d02f_2'), 2 => $this->get('8677a13097c08f1070836dd4b85181f37aca11f7f70f281f9f1d6b015506d02f_3')));
     $a->setUsername('jp.ciphron');
     $a->setPassword('e4a7109f1');
     $a->setAuthMode('login');
     $this->services['swiftmailer.mailer.default.transport'] = $instance = new \Swift_Transport_EsmtpTransport(new \Swift_Transport_StreamBuffer(new \Swift_StreamFilters_StringReplacementFilterFactory()), array(0 => $a), new \Swift_Events_SimpleEventDispatcher());
     $instance->setHost('smtp.gmail.com');
     $instance->setPort(465);
     $instance->setEncryption('ssl');
     $instance->setTimeout(30);
     $instance->setSourceIp(NULL);
     $instance->registerPlugin($this->get('swiftmailer.mailer.default.plugin.messagelogger'));
     return $instance;
 }
开发者ID:Checo1983,项目名称:petfriends,代码行数:23,代码来源:appProdDebugProjectContainer.php


示例10: getSwiftmailer_Mailer_Default_Transport_RealService

 protected function getSwiftmailer_Mailer_Default_Transport_RealService()
 {
     $a = new \Swift_Transport_Esmtp_AuthHandler(array(0 => new \Swift_Transport_Esmtp_Auth_CramMd5Authenticator(), 1 => new \Swift_Transport_Esmtp_Auth_LoginAuthenticator(), 2 => new \Swift_Transport_Esmtp_Auth_PlainAuthenticator()));
     $a->setUsername(NULL);
     $a->setPassword(NULL);
     $a->setAuthMode(NULL);
     $this->services['swiftmailer.mailer.default.transport.real'] = $instance = new \Swift_Transport_EsmtpTransport(new \Swift_Transport_StreamBuffer(new \Swift_StreamFilters_StringReplacementFilterFactory()), array(0 => $a), $this->get('swiftmailer.mailer.default.transport.eventdispatcher'));
     $instance->setHost('127.0.0.1');
     $instance->setPort(25);
     $instance->setEncryption(NULL);
     $instance->setTimeout(30);
     $instance->setSourceIp(NULL);
     return $instance;
 }
开发者ID:elomedah,项目名称:CestomAppli,代码行数:14,代码来源:appProdProjectContainer.php


示例11: getSwiftmailer_Mailer_Default_Transport_RealService

 protected function getSwiftmailer_Mailer_Default_Transport_RealService()
 {
     $a = new \Swift_Transport_Esmtp_AuthHandler(array(0 => $this->get('a02e5a08f0a3c6fa23e65e5d13b7aa0449b4e21c7e042310edd9cb0956c8ac29_1'), 1 => $this->get('a02e5a08f0a3c6fa23e65e5d13b7aa0449b4e21c7e042310edd9cb0956c8ac29_2'), 2 => $this->get('a02e5a08f0a3c6fa23e65e5d13b7aa0449b4e21c7e042310edd9cb0956c8ac29_3')));
     $a->setUsername('[email protected]');
     $a->setPassword('bprop789');
     $a->setAuthMode(NULL);
     $this->services['swiftmailer.mailer.default.transport.real'] = $instance = new \Swift_Transport_EsmtpTransport(new \Swift_Transport_StreamBuffer(new \Swift_StreamFilters_StringReplacementFilterFactory()), array(0 => $a), $this->get('swiftmailer.mailer.default.transport.eventdispatcher'));
     $instance->setHost('smtp.gmail.com');
     $instance->setPort(25);
     $instance->setEncryption(NULL);
     $instance->setTimeout(30);
     $instance->setSourceIp(NULL);
     return $instance;
 }
开发者ID:FARIDMESCAM,项目名称:Manufacture,代码行数:14,代码来源:appProdProjectContainer.php



注:本文中的Swift_Transport_Esmtp_AuthHandler类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
PHP Swift_Transport_SmtpAgent类代码示例发布时间:2022-05-23
下一篇:
PHP Swift_Transport_EsmtpTransport类代码示例发布时间:2022-05-23
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap