當前位置: 首頁>>代碼示例>>PHP>>正文


PHP Swift_Transport_EsmtpTransport::setSourceIp方法代碼示例

本文整理匯總了PHP中Swift_Transport_EsmtpTransport::setSourceIp方法的典型用法代碼示例。如果您正苦於以下問題:PHP Swift_Transport_EsmtpTransport::setSourceIp方法的具體用法?PHP Swift_Transport_EsmtpTransport::setSourceIp怎麽用?PHP Swift_Transport_EsmtpTransport::setSourceIp使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在Swift_Transport_EsmtpTransport的用法示例。


在下文中一共展示了Swift_Transport_EsmtpTransport::setSourceIp方法的12個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。

示例1: 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('a27c38881fcb60cd7efcfc1aaed4ab1403ae65ca418be97b8f25c018e821ef41_1'), 1 => $this->get('a27c38881fcb60cd7efcfc1aaed4ab1403ae65ca418be97b8f25c018e821ef41_2'), 2 => $this->get('a27c38881fcb60cd7efcfc1aaed4ab1403ae65ca418be97b8f25c018e821ef41_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:RANDRIATSIFERANA,項目名稱:gestiondeTC,代碼行數:22,代碼來源:appDevDebugProjectContainer.php

示例2: 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('essam.khaled.mohamed@gmail.com');
     $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

示例3: 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('developer.optimum@gmail.com');
     $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

示例4: 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

示例5: 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

示例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_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

示例8: 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

示例9: 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('faridmescam@gmail.com');
     $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

示例10: getSwiftmailer_Transport_RealService

 /**
  * Gets the 'swiftmailer.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_Transport_RealService()
 {
     $this->services['swiftmailer.transport.real'] = $instance = new \Swift_Transport_EsmtpTransport(new \Swift_Transport_StreamBuffer(new \Swift_StreamFilters_StringReplacementFilterFactory()), array(0 => 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()))), $this->get('swiftmailer.transport.eventdispatcher'));
     $instance->setHost('smtp.gmail.com');
     $instance->setPort(465);
     $instance->setEncryption('ssl');
     $instance->setUsername('admin@buggl.com');
     $instance->setPassword('sleeper16');
     $instance->setAuthMode('login');
     $instance->setTimeout(30);
     $instance->setSourceIp(NULL);
     return $instance;
 }
開發者ID:thebuggl-org,項目名稱:tests-buggl,代碼行數:21,代碼來源:appDevDebugProjectContainer.php

示例11: 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

示例12: 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


注:本文中的Swift_Transport_EsmtpTransport::setSourceIp方法示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。