Skip to content
Snippets Groups Projects
Commit 249b6ef1 authored by Eric Rasmussen's avatar Eric Rasmussen
Browse files

Add url to bottom of email

parent fe42b5a1
Branches
No related tags found
No related merge requests found
......@@ -18,6 +18,8 @@ function myautoload($class)
require_once $file;
}
$url = "http://localhost/workspace/ucomm_webforms/landscape/outdoorevents/";
$sendToEmail = "jdoe1@unl.edu"; //Contact person who is collecting data
$sendToEmailBackup = "sdoe2@unl.edu"; //Backup contact, set to NULL if not wanted
$sendToEmailDev= "appdev1@unl.edu"; //Application developer as a backup
......
......@@ -39,6 +39,7 @@ if (!empty($_POST)) {
$body .= "<h3>Other Information</h3>";
$body .= "<strong>Bad Weather Contingency:</strong> " . $_POST['weather'] . "<br/>";
$body .= "<strong>Additional Comments:</strong> " . $_POST['comments'] . "<br/>";
$body .= "<p>This email was sent from:" . $url . "</p>";
$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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment