View Single Post
  #2 (permalink)  
Old 03-03-2008, 02:11 PM
lordspace lordspace is offline
Junior Member
 
Join Date: Jan 2008
Posts: 18
Default

Hi,

It throws a Zend_Mail_Exception

You might need to surround the send() with a try catch block.
e.g.

Code:
try {
  $mail->send();
} catch (Exception $e) {
  echo "Failed to Send Email.";
}

Last edited by lordspace : 03-03-2008 at 06:44 PM. Reason: Fix indentation
Reply With Quote