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:
parent
2e4985be3f
commit
df9089f74d
@ -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']) {
|
||||||
|
Loading…
Reference in New Issue
Block a user