From faca93b25b517ab48e0b80bfce6737ab901c63d8 Mon Sep 17 00:00:00 2001 From: e107steved Date: Mon, 28 Jul 2008 21:33:36 +0000 Subject: [PATCH] Generic 'to' name on test emails --- e107_admin/mailout.php | 6 +++--- e107_languages/English/admin/lan_mailout.php | 5 +++-- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/e107_admin/mailout.php b/e107_admin/mailout.php index d41caf173..e733100e6 100644 --- a/e107_admin/mailout.php +++ b/e107_admin/mailout.php @@ -11,8 +11,8 @@ | GNU General Public License (http://gnu.org). | | $Source: /cvs_backup/e107_0.8/e107_admin/mailout.php,v $ -| $Revision: 1.9 $ -| $Date: 2008-07-25 21:15:01 $ +| $Revision: 1.10 $ +| $Date: 2008-07-28 21:33:27 $ | $Author: e107steved $ | | Work in progress - supplementary mailer plugin @@ -164,7 +164,7 @@ if (isset($_POST['testemail']) && getperms("0")) require_once(e_HANDLER."mail.php"); $add = ($pref['mailer']) ? " (".strtoupper($pref['mailer']).")" : " (PHP)"; $sendto = trim($_POST['testaddress']); - if (!sendemail($sendto, LAN_MAILOUT_113." ".SITENAME.$add, LAN_MAILOUT_114,USERNAME)) + if (!sendemail($sendto, LAN_MAILOUT_113." ".SITENAME.$add, LAN_MAILOUT_114,LAN_MAILOUT_125)) { $message = ($pref['mailer'] == "smtp") ? LAN_MAILOUT_67 : LAN_MAILOUT_106; } diff --git a/e107_languages/English/admin/lan_mailout.php b/e107_languages/English/admin/lan_mailout.php index 9866b91a8..218ee9993 100644 --- a/e107_languages/English/admin/lan_mailout.php +++ b/e107_languages/English/admin/lan_mailout.php @@ -4,8 +4,8 @@ | e107 website system - Language File. | | $Source: /cvs_backup/e107_0.8/e107_languages/English/admin/lan_mailout.php,v $ -| $Revision: 1.4 $ -| $Date: 2008-07-25 21:15:11 $ +| $Revision: 1.5 $ +| $Date: 2008-07-28 21:33:36 $ | $Author: e107steved $ +----------------------------------------------------------------------------+ */ @@ -133,6 +133,7 @@ define('LAN_MAILOUT_121','Standard POP3'); define('LAN_MAILOUT_122','POP3, TLS disabled'); define('LAN_MAILOUT_123','POP3 with TLS'); define('LAN_MAILOUT_124','IMAP'); +define('LAN_MAILOUT_125', 'Test address');