From d0d9fe4d602a0c272d83bb3451f162c8a808410c Mon Sep 17 00:00:00 2001 From: james Date: Mon, 22 Nov 2010 18:40:50 +0000 Subject: [PATCH] Add ability to see WHO the recipients of a communication will be --- admin/communication.php | 38 +++++++++++++++++++++++++++++++++++--- 1 file changed, 35 insertions(+), 3 deletions(-) diff --git a/admin/communication.php b/admin/communication.php index c052b5c..6198d88 100644 --- a/admin/communication.php +++ b/admin/communication.php @@ -24,6 +24,7 @@ organization) $s="($r->organization) "; + else $s=""; + echo "$r->firstname $r->lastname {$s}<$r->email>
"; + } + } + + exit; } - include "communication.inc.php"; if($_GET['action']=="sendqueue") { $fcid=intval($_POST['fundraising_campaigns_id']); @@ -718,6 +730,23 @@ case "email_get_list": "communication" ); echo "
"; + ?> + + "; echo "From:".htmlspecialchars($r->from).""; echo "To:"; - echo ""; echo " "; $str=""; foreach($mailqueries AS $k=>$mq) { @@ -752,6 +782,8 @@ case "email_get_list": echo " "; } echo ""; + echo "
View Recipients
"; + echo "
empty
"; echo ""; echo "Date:".date("r").""; echo "Subject:".htmlspecialchars($r->subject).""; @@ -762,7 +794,7 @@ case "email_get_list": $body=nl2br(htmlspecialchars($r->body)); } - echo "".$body.""; + echo "".$body."
(".mb_detect_encoding($body).")"; echo "";