SHARE
TWEET

Untitled

a guest Oct 3rd, 2017 98 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. //code:
  2.        
  3.         $m = $this->htmlMailer;
  4.  
  5.         var_dump($this->htmlMailer);
  6.         echo "<BR/>";
  7.         var_dump($m);
  8.         echo "<BR/>";
  9.         $m->sendHtmlEmail($to, null, $subject, $template, $params);
  10.         echo "<BR/>";
  11.         $this->htmlMailer->sendHtmlMail($to, null, $subject, $template, $params);
  12.         echo "<BR/>";
  13.         exit;
  14.  
  15.  
  16.  
  17. // Output
  18. object(Helper_MSHTMLMail)[195]
  19.   protected '_charset' => string 'iso-8859-1' (length=10)
  20.   protected '_headers' =>
  21.     array
  22.       empty
  23.   protected '_headerEncoding' => string 'quoted-printable' (length=16)
  24.   protected '_from' => null
  25.   protected '_to' =>
  26.     array
  27.       empty
  28.   protected '_recipients' =>
  29.     array
  30.       empty
  31.   protected '_replyTo' => null
  32.   protected '_returnPath' => null
  33.   protected '_subject' => null
  34.   protected '_date' => null
  35.   protected '_messageId' => null
  36.   protected '_bodyText' => boolean false
  37.   protected '_bodyHtml' => boolean false
  38.   protected '_mimeBoundary' => null
  39.   protected '_type' => null
  40.   public 'hasAttachments' => boolean false
  41.   protected '_parts' =>
  42.     array
  43.       empty
  44.   protected '_mime' => null
  45.  
  46. object(Helper_MSHTMLMail)[195]
  47.   protected '_charset' => string 'iso-8859-1' (length=10)
  48.   protected '_headers' =>
  49.     array
  50.       empty
  51.   protected '_headerEncoding' => string 'quoted-printable' (length=16)
  52.   protected '_from' => null
  53.   protected '_to' =>
  54.     array
  55.       empty
  56.   protected '_recipients' =>
  57.     array
  58.       empty
  59.   protected '_replyTo' => null
  60.   protected '_returnPath' => null
  61.   protected '_subject' => null
  62.   protected '_date' => null
  63.   protected '_messageId' => null
  64.   protected '_bodyText' => boolean false
  65.   protected '_bodyHtml' => boolean false
  66.   protected '_mimeBoundary' => null
  67.   protected '_type' => null
  68.   public 'hasAttachments' => boolean false
  69.   protected '_parts' =>
  70.     array
  71.       empty
  72.   protected '_mime' => null
  73.  
  74. object(Helper_MSHTMLMail)[195]
  75.   protected '_charset' => string 'iso-8859-1' (length=10)
  76.   protected '_headers' =>
  77.     array
  78.       'To' =>
  79.         array
  80.           0 => string 'firstname2 <email2>' (length=19)
  81.           'append' => boolean true
  82.       'Subject' =>
  83.         array
  84.           0 => string 'Your Password Reset Request has been processed.' (length=47)
  85.   protected '_headerEncoding' => string 'quoted-printable' (length=16)
  86.   protected '_from' => null
  87.   protected '_to' =>
  88.     array
  89.       0 => string 'email2' (length=6)
  90.   protected '_recipients' =>
  91.     array
  92.       'email2' => int 1
  93.   protected '_replyTo' => null
  94.   protected '_returnPath' => null
  95.   protected '_subject' => string 'Your Password Reset Request has been processed.' (length=47)
  96.   protected '_date' => null
  97.   protected '_messageId' => null
  98.   protected '_bodyText' => boolean false
  99.   protected '_bodyHtml' =>
  100.     object(Zend_Mime_Part)[288]
  101.       public 'type' => string 'text/html' (length=9)
  102.       public 'encoding' => string 'quoted-printable' (length=16)
  103.       public 'id' => null
  104.       public 'disposition' => string 'inline' (length=6)
  105.       public 'filename' => null
  106.       public 'description' => null
  107.       public 'charset' => string 'iso-8859-1' (length=10)
  108.       public 'boundary' => null
  109.       public 'location' => null
  110.       public 'language' => null
  111.       protected '_content' => string '<h1>Forgot Password</h1>
  112. Name:
  113. firstname2<br/>UserName:
  114. username2<br/> Password:
  115. ,MqfUu*g9[<br/>' (length=96)
  116.       protected '_isStream' => boolean false
  117.   protected '_mimeBoundary' => null
  118.   protected '_type' => null
  119.   public 'hasAttachments' => boolean false
  120.   protected '_parts' =>
  121.     array
  122.       empty
  123.   protected '_mime' => null
  124.  
  125.  
  126. ( ! ) Fatal error: Call to undefined method Helper_MSHTMLMail::sendHtmlMail() in /var/www/base-zf/application/modules/user/controllers/UserController.php on line 144
  127. Call Stack
  128. #   Time    Memory  Function    Location
  129. 1   0.0000  329692  {main}( )   ../index.php:0
  130. 2   0.0687  2627276 Zend_Application->run( )    ../index.php:29
  131. 3   0.0687  2627276 Zend_Application_Bootstrap_Bootstrap->run( )    ../Application.php:366
  132. 4   0.0688  2627348 Zend_Controller_Front->dispatch( )  ../Bootstrap.php:97
  133. 5   0.0713  2715932 Zend_Controller_Dispatcher_Standard->dispatch( )    ../Front.php:954
  134. 6   0.0789  2975340 Zend_Controller_Action->dispatch( ) ../Standard.php:295
  135. 7   0.0790  2980388 User_UserController->forgotAction( )    ../Action.php:516
  136. 8   0.0913  3671188 User_UserController->_sendPassword( )   ../UserController.php:68
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top