Swift_RfcComplianceException

Address in mailbox given [] does not comply with RFC 2822, 3.6.2.

/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 }

Stack Trace

#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()}
2016-03-30 22:39:22 Apache Yii Framework/1.1.14