Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //code:
- $m = $this->htmlMailer;
- var_dump($this->htmlMailer);
- echo "<BR/>";
- var_dump($m);
- echo "<BR/>";
- $m->sendHtmlEmail($to, null, $subject, $template, $params);
- echo "<BR/>";
- $this->htmlMailer->sendHtmlMail($to, null, $subject, $template, $params);
- echo "<BR/>";
- exit;
- // Output
- object(Helper_MSHTMLMail)[195]
- protected '_charset' => string 'iso-8859-1' (length=10)
- protected '_headers' =>
- array
- empty
- protected '_headerEncoding' => string 'quoted-printable' (length=16)
- protected '_from' => null
- protected '_to' =>
- array
- empty
- protected '_recipients' =>
- array
- empty
- protected '_replyTo' => null
- protected '_returnPath' => null
- protected '_subject' => null
- protected '_date' => null
- protected '_messageId' => null
- protected '_bodyText' => boolean false
- protected '_bodyHtml' => boolean false
- protected '_mimeBoundary' => null
- protected '_type' => null
- public 'hasAttachments' => boolean false
- protected '_parts' =>
- array
- empty
- protected '_mime' => null
- object(Helper_MSHTMLMail)[195]
- protected '_charset' => string 'iso-8859-1' (length=10)
- protected '_headers' =>
- array
- empty
- protected '_headerEncoding' => string 'quoted-printable' (length=16)
- protected '_from' => null
- protected '_to' =>
- array
- empty
- protected '_recipients' =>
- array
- empty
- protected '_replyTo' => null
- protected '_returnPath' => null
- protected '_subject' => null
- protected '_date' => null
- protected '_messageId' => null
- protected '_bodyText' => boolean false
- protected '_bodyHtml' => boolean false
- protected '_mimeBoundary' => null
- protected '_type' => null
- public 'hasAttachments' => boolean false
- protected '_parts' =>
- array
- empty
- protected '_mime' => null
- object(Helper_MSHTMLMail)[195]
- protected '_charset' => string 'iso-8859-1' (length=10)
- protected '_headers' =>
- array
- 'To' =>
- array
- 0 => string 'firstname2 <email2>' (length=19)
- 'append' => boolean true
- 'Subject' =>
- array
- 0 => string 'Your Password Reset Request has been processed.' (length=47)
- protected '_headerEncoding' => string 'quoted-printable' (length=16)
- protected '_from' => null
- protected '_to' =>
- array
- 0 => string 'email2' (length=6)
- protected '_recipients' =>
- array
- 'email2' => int 1
- protected '_replyTo' => null
- protected '_returnPath' => null
- protected '_subject' => string 'Your Password Reset Request has been processed.' (length=47)
- protected '_date' => null
- protected '_messageId' => null
- protected '_bodyText' => boolean false
- protected '_bodyHtml' =>
- object(Zend_Mime_Part)[288]
- public 'type' => string 'text/html' (length=9)
- public 'encoding' => string 'quoted-printable' (length=16)
- public 'id' => null
- public 'disposition' => string 'inline' (length=6)
- public 'filename' => null
- public 'description' => null
- public 'charset' => string 'iso-8859-1' (length=10)
- public 'boundary' => null
- public 'location' => null
- public 'language' => null
- protected '_content' => string '<h1>Forgot Password</h1>
- Name:
- firstname2<br/>UserName:
- username2<br/> Password:
- ,MqfUu*g9[<br/>' (length=96)
- protected '_isStream' => boolean false
- protected '_mimeBoundary' => null
- protected '_type' => null
- public 'hasAttachments' => boolean false
- protected '_parts' =>
- array
- empty
- protected '_mime' => null
- ( ! ) Fatal error: Call to undefined method Helper_MSHTMLMail::sendHtmlMail() in /var/www/base-zf/application/modules/user/controllers/UserController.php on line 144
- Call Stack
- # Time Memory Function Location
- 1 0.0000 329692 {main}( ) ../index.php:0
- 2 0.0687 2627276 Zend_Application->run( ) ../index.php:29
- 3 0.0687 2627276 Zend_Application_Bootstrap_Bootstrap->run( ) ../Application.php:366
- 4 0.0688 2627348 Zend_Controller_Front->dispatch( ) ../Bootstrap.php:97
- 5 0.0713 2715932 Zend_Controller_Dispatcher_Standard->dispatch( ) ../Front.php:954
- 6 0.0789 2975340 Zend_Controller_Action->dispatch( ) ../Standard.php:295
- 7 0.0790 2980388 User_UserController->forgotAction( ) ../Action.php:516
- 8 0.0913 3671188 User_UserController->_sendPassword( ) ../UserController.php:68
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement