/opt/bitnami/apache2/htdocs/mashaweer_express/protected/extensions/swiftMailer/lib/classes/Swift/Mime/Headers/MailboxHeader.php(319)
307 308 /** 309 * Throws an Exception if the address passed does not comply with RFC 2822. 310 * @param string $address 311 * @throws Exception If invalid. 312 * @access protected 313 */ 314 private function _assertValidAddress($address) 315 { 316 if (!preg_match('/^' . $this->getGrammar('addr-spec') . '$/D', 317 $address)) 318 { 319 throw new Swift_RfcComplianceException( 320 'Address in mailbox given [' . $address . 321 '] does not comply with RFC 2822, 3.6.2.' 322 ); 323 } 324 } 325 326 }
| #0 |
+
–
/opt/bitnami/apache2/htdocs/mashaweer_express/protected/extensions/swiftMailer/lib/classes/Swift/Mime/Headers/MailboxHeader.php(249): Swift_Mime_Headers_MailboxHeader->_assertValidAddress("") 244 else 245 { 246 $address = $value; 247 $name = null; 248 } 249 $this->_assertValidAddress($address); 250 $actualMailboxes[$address] = $name; 251 } 252 253 return $actualMailboxes; 254 } |
| #1 |
+
–
/opt/bitnami/apache2/htdocs/mashaweer_express/protected/extensions/swiftMailer/lib/classes/Swift/Mime/Headers/MailboxHeader.php(107): Swift_Mime_Headers_MailboxHeader->normalizeMailboxes(array("")) 102 * @see setAddresses() 103 * @see setValue() 104 */ 105 public function setNameAddresses($mailboxes) 106 { 107 $this->_mailboxes = $this->normalizeMailboxes((array) $mailboxes); 108 $this->setCachedValue(null); //Clear any cached value 109 } 110 111 /** 112 * Get the full mailbox list of this Header as an array of valid RFC 2822 strings. |
| #2 |
+
–
/opt/bitnami/apache2/htdocs/mashaweer_express/protected/extensions/swiftMailer/lib/classes/Swift/Mime/Headers/MailboxHeader.php(71): Swift_Mime_Headers_MailboxHeader->setNameAddresses(array("")) 66 * @param mixed $model 67 * @throws Swift_RfcComplianceException 68 */ 69 public function setFieldBodyModel($model) 70 { 71 $this->setNameAddresses($model); 72 } 73 74 /** 75 * Get the model for the field body. 76 * This method returns an associative array like {@link getNameAddresses()} |
| #3 |
+
–
/opt/bitnami/apache2/htdocs/mashaweer_express/protected/extensions/swiftMailer/lib/classes/Swift/Mime/SimpleHeaderFactory.php(74): Swift_Mime_Headers_MailboxHeader->setFieldBodyModel(array("")) 69 public function createMailboxHeader($name, $addresses = null) 70 { 71 $header = new Swift_Mime_Headers_MailboxHeader($name, $this->_encoder); 72 if (isset($addresses)) 73 { 74 $header->setFieldBodyModel($addresses); 75 } 76 $this->_setHeaderCharset($header); 77 return $header; 78 } 79 |
| #4 |
+
–
/opt/bitnami/apache2/htdocs/mashaweer_express/protected/extensions/swiftMailer/lib/classes/Swift/Mime/SimpleHeaderSet.php(87): Swift_Mime_SimpleHeaderFactory->createMailboxHeader("To", array("")) 82 * @param array|string $addresses 83 */ 84 public function addMailboxHeader($name, $addresses = null) 85 { 86 $this->_storeHeader($name, 87 $this->_factory->createMailboxHeader($name, $addresses)); 88 } 89 90 /** 91 * Add a new Date header using $timestamp (UNIX time). 92 * |
| #5 |
+
–
/opt/bitnami/apache2/htdocs/mashaweer_express/protected/extensions/swiftMailer/lib/classes/Swift/Mime/SimpleMessage.php(311): Swift_Mime_SimpleHeaderSet->addMailboxHeader("To", array("")) 306 $addresses = array($addresses => $name); 307 } 308 309 if (!$this->_setHeaderFieldModel('To', (array) $addresses)) 310 { 311 $this->getHeaders()->addMailboxHeader('To', (array) $addresses); 312 } 313 return $this; 314 } 315 316 /** |
| #6 |
+
–
/opt/bitnami/apache2/htdocs/mashaweer_express/protected/components/MobLib.php(1424): Swift_Mime_SimpleMessage->setTo("") 1419 switch (config('country', 'egypt')) { 1420 case 'egypt': 1421 $Message = $SM 1422 ->newMessage('My message') 1423 ->setFrom(array('[email protected]' => 'Mashaweer online')) 1424 ->setTo($MailTo) 1425 ->setSubject('Welcome'); 1426 $logo_cid = $Message->embed(Swift_Image::fromPath($logo_url)); 1427 $Message->setBody('<html><head></head> 1428 <body><center><div style="padding: 20px; margin: 0px auto; width:80%; color: rgb(244, 139, 64);"> 1429 <b><font style="color: #fa9d1c; font-size: 18px;">Mashaweer Online</font></b><font style="color: #000000; font-size: 15px;"> Mashaweer is the first personal service company in Egypt. We are purely dedicated to save you time and effort by running your errands for you. With Mashaweer you can forget about long lines at the market, paying your phone and internet bills, </font> |
| #7 |
+
–
/opt/bitnami/apache2/htdocs/mashaweer_express/protected/components/MobLib.php(1473): MobLib->sendPassword("", "23", null) 1468 */ 1469 function forgetPassword($email) { 1470 $clientCode = $this->checkEmail($email); 1471 if ($clientCode) { 1472 $password = sqlValue("SELECT Password FROM clients WHERE ClientCode = '" . $clientCode . "'"); 1473 $this->sendPassword($email, $clientCode, $password); 1474 return 1; 1475 } else { 1476 return 0; 1477 } 1478 } |
| #8 |
+
–
/opt/bitnami/apache2/htdocs/mashaweer_express/protected/controllers/MobApiController.php(350): MobLib->forgetPassword("") 345 /** 346 * Send email with password and code for the client 347 */ 348 function actionForgetPassword() { 349 $mob = new MobLib; 350 $result = $mob->forgetPassword(Yii::app()->request->getPost('Email')); 351 echo $result; 352 } 353 354 function actionGetZoneDistricts() { 355 $mob = new MobLib; |
| #9 |
+
–
/opt/bitnami/apache2/htdocs/mashaweer_express/yii_framework/framework/web/actions/CInlineAction.php(49): MobApiController->actionForgetPassword() 44 $controller=$this->getController(); 45 $method=new ReflectionMethod($controller, $methodName); 46 if($method->getNumberOfParameters()>0) 47 return $this->runWithParamsInternal($controller, $method, $params); 48 else 49 return $controller->$methodName(); 50 } 51 52 } |
| #10 |
+
–
/opt/bitnami/apache2/htdocs/mashaweer_express/yii_framework/framework/web/CController.php(308): CInlineAction->runWithParams(array()) 303 { 304 $priorAction=$this->_action; 305 $this->_action=$action; 306 if($this->beforeAction($action)) 307 { 308 if($action->runWithParams($this->getActionParams())===false) 309 $this->invalidActionParams($action); 310 else 311 $this->afterAction($action); 312 } 313 $this->_action=$priorAction; |
| #11 |
+
–
/opt/bitnami/apache2/htdocs/mashaweer_express/yii_framework/framework/web/CController.php(286): CController->runAction(CInlineAction) 281 * @see runAction 282 */ 283 public function runActionWithFilters($action,$filters) 284 { 285 if(empty($filters)) 286 $this->runAction($action); 287 else 288 { 289 $priorAction=$this->_action; 290 $this->_action=$action; 291 CFilterChain::create($this,$action,$filters)->run(); |
| #12 |
+
–
/opt/bitnami/apache2/htdocs/mashaweer_express/yii_framework/framework/web/CController.php(265): CController->runActionWithFilters(CInlineAction, array()) 260 { 261 if(($parent=$this->getModule())===null) 262 $parent=Yii::app(); 263 if($parent->beforeControllerAction($this,$action)) 264 { 265 $this->runActionWithFilters($action,$this->filters()); 266 $parent->afterControllerAction($this,$action); 267 } 268 } 269 else 270 $this->missingAction($actionID); |
| #13 |
+
–
/opt/bitnami/apache2/htdocs/mashaweer_express/yii_framework/framework/web/CWebApplication.php(282): CController->run("forgetPassword") 277 { 278 list($controller,$actionID)=$ca; 279 $oldController=$this->_controller; 280 $this->_controller=$controller; 281 $controller->init(); 282 $controller->run($actionID); 283 $this->_controller=$oldController; 284 } 285 else 286 throw new CHttpException(404,Yii::t('yii','Unable to resolve the request "{route}".', 287 array('{route}'=>$route===''?$this->defaultController:$route))); |
| #14 |
+
–
/opt/bitnami/apache2/htdocs/mashaweer_express/yii_framework/framework/web/CWebApplication.php(141): CWebApplication->runController("mobApi/forgetPassword") 136 foreach(array_splice($this->catchAllRequest,1) as $name=>$value) 137 $_GET[$name]=$value; 138 } 139 else 140 $route=$this->getUrlManager()->parseUrl($this->getRequest()); 141 $this->runController($route); 142 } 143 144 /** 145 * Registers the core application components. 146 * This method overrides the parent implementation by registering additional core components. |
| #15 |
+
–
/opt/bitnami/apache2/htdocs/mashaweer_express/yii_framework/framework/base/CApplication.php(180): CWebApplication->processRequest() 175 public function run() 176 { 177 if($this->hasEventHandler('onBeginRequest')) 178 $this->onBeginRequest(new CEvent($this)); 179 register_shutdown_function(array($this,'end'),0,false); 180 $this->processRequest(); 181 if($this->hasEventHandler('onEndRequest')) 182 $this->onEndRequest(new CEvent($this)); 183 } 184 185 /** |
| #16 |
+
–
/opt/bitnami/apache2/htdocs/mashaweer_express/index.php(13): CApplication->run() 08 defined('YII_DEBUG') or define('YII_DEBUG',true); 09 // specify how many levels of call stack should be shown in each log message 10 defined('YII_TRACE_LEVEL') or define('YII_TRACE_LEVEL',3); 11 12 require_once($yii); 13 Yii::createWebApplication($config)->run(); |