| 1 |
<?php |
<?php |
| 2 |
// $Id: phpmailer.class.inc,v 1.1.2.1.2.10 2009/11/12 10:18:10 smk Exp $ |
// $Id: phpmailer.class.inc,v 1.1.2.1.2.11 2009/11/21 17:37:38 smk Exp $ |
| 3 |
|
|
| 4 |
/** |
/** |
| 5 |
* @file |
* @file |
| 83 |
catch (phpmailerException $e) { |
catch (phpmailerException $e) { |
| 84 |
// Provide a more helpful error message. |
// Provide a more helpful error message. |
| 85 |
drupal_set_message(t('Sending of at least one e-mail failed. The error returned was:<br />@error.', array('@error' => $e->getMessage())), 'error'); |
drupal_set_message(t('Sending of at least one e-mail failed. The error returned was:<br />@error.', array('@error' => $e->getMessage())), 'error'); |
| 86 |
watchdog('phpmailer', $e->getMessage(), NULL, WATCHDOG_ERROR); |
watchdog('phpmailer', $e->getMessage(), WATCHDOG_ERROR); |
| 87 |
$result = FALSE; |
$result = FALSE; |
| 88 |
} |
} |
| 89 |
|
|