--- phpmailer.admin.inc.orig 2009-06-10 15:01:36.000000000 +0200
+++ phpmailer.admin.inc 2009-07-11 20:17:55.000000000 +0200
@@ -122,8 +122,8 @@
// If an address was given, send a test email message.
$test_address = variable_get('smtp_test_address', '');
if ($test_address != '') {
- drupal_set_message(t('A test e-mail has been sent to %email. You may want to check the logs for any error messages.', array('%email' => $test_address, '!watchdog' => url('admin/reports/dblog'))));
drupal_mail('phpmailer', 'test', $test_address, NULL);
+ drupal_set_message(t('A test e-mail has been sent to %email. You may want to check the logs for any error messages.', array('%email' => $test_address, '!watchdog' => url('admin/reports/dblog'))));
variable_del('smtp_test_address');
}