From 06173c171951ea90f541db45a4c784d0ecb81be3 Mon Sep 17 00:00:00 2001 From: Matt Huntington Date: Sat, 24 Jun 2017 17:07:34 -0400 Subject: [PATCH] dynamic server name in subject --- mail.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mail.php b/mail.php index 68edb51..242d913 100644 --- a/mail.php +++ b/mail.php @@ -8,7 +8,7 @@ $options = array( 'content' => '{ "from": "'.$_POST['email'].'", "to": "matt.huntington@gmail.com", - "subject": "New emissary-talent.com message from '.$_POST['name'].'", + "subject": "New '.$_SERVER['HTTP_HOST'].' message from '.$_POST['name'].'", "html": "'.$_POST['message'].'" }' )