Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- public function sendAction()
- {
- try
- {
- $mail = new Zend_Mail();
- $mail->send();
- }
- catch (Exception $e)
- {
- Mage::getSingleton('core/session')->addError('Error sending mail');
- }
- $this->loadLayout();
- $this->renderLayout();
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement