1
0
mirror of https://gitlab.com/openlp/website.git synced 2024-12-22 04:52:49 +00:00

Add [Contact Form] to e-mails from the contact form.

This commit is contained in:
Raoul Snyman 2015-10-18 20:34:47 +02:00
parent 2e4985be3f
commit df9089f74d

View File

@ -60,7 +60,7 @@ else {
// Get everything together // Get everything together
$headers['From'] = $_POST['name'] . ' <' . $_POST['email'] . '>'; $headers['From'] = $_POST['name'] . ' <' . $_POST['email'] . '>';
$headers['To'] = 'support@openlp.org'; $headers['To'] = 'support@openlp.org';
$headers['Subject'] = $_POST['subject']; $headers['Subject'] = '[Contact Form] ' . $_POST['subject'];
$body = $_POST['message']; $body = $_POST['message'];
$recipients = 'support@openlp.org'; $recipients = 'support@openlp.org';
if ($_POST['me-too']) { if ($_POST['me-too']) {