From 1e1802386451b3cce55296eaa5f6085de93d27a3 Mon Sep 17 00:00:00 2001 From: Eric Rasmussen <erasmussen2@unl.edu> Date: Mon, 11 Apr 2011 18:40:15 +0000 Subject: [PATCH] Prepend note about availability --- www/landscape/outdoorevents/index.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/www/landscape/outdoorevents/index.php b/www/landscape/outdoorevents/index.php index 53a98ed..57a6de7 100644 --- a/www/landscape/outdoorevents/index.php +++ b/www/landscape/outdoorevents/index.php @@ -40,14 +40,15 @@ if (!empty($_POST)) { $body .= "<strong>Bad Weather Contingency:</strong> " . $_POST['weather'] . "<br/>"; $body .= "<strong>Additional Comments:</strong> " . $_POST['comments'] . "<br/>"; - - $mailer->html_body = $body; + $note = "<p>Note: This request does not confirm/reserve access to the space. We will contact you as to availability.</p>"; + $mailer->html_body = $note.$body; $mailer->to_address = $_POST['email']; $mailer->from_address = $sendFromEmail; $mailer->subject = $emailSubject; $mailer->send(); + $mailer->html_body = $body; $mailer->from_address = $_POST['email']; // Send to head of Landscape Services $mailer->to_address = $sendToEmail; -- GitLab