aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--content/vendor/form-comments/commentsubmit.php8
1 files changed, 5 insertions, 3 deletions
diff --git a/content/vendor/form-comments/commentsubmit.php b/content/vendor/form-comments/commentsubmit.php
index 39d81b4..5498b95 100644
--- a/content/vendor/form-comments/commentsubmit.php
+++ b/content/vendor/form-comments/commentsubmit.php
@@ -52,8 +52,9 @@ if(empty($_POST['name']) ||
// Create the email and send the message
// Add your email address
+ $local_address = "heckyel@riseup.net";
$recipients = array(
- "heckyel@riseup.net",
+ "$local_address",
"$email_address",
// more emails
);
@@ -72,11 +73,12 @@ Email: {$email_address}
Slug: {$slug}
{$web}\n
{$comment}\n\n
-¿Usted no ha escrito este comentario? escríbenos a: heckyel[at]hyperbola[dot]info
+¿Usted no ha escrito este comentario?
+Responde este mensaje para eliminar el comentario.
EOT;
$headers = "From: noreply@conocimientoslibres.tuxfamily.org\n"; // Using something like noreply@yourdomain.com.
- $headers .= "Reply-To: $email_address";
+ $headers .= "Reply-To: $local_address";
mail($to,$email_subject,utf8_decode($email_body),$headers);
// Rediret to current post