Skip to content

Commit

Permalink
Do not include any user input in confirmation emails (#12)
Browse files Browse the repository at this point in the history
  • Loading branch information
Spencer14420 authored Nov 27, 2024
1 parent 8519706 commit 6f00dd0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/EmailHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ public function handleRequest(): void
$this->fromEmail,
$email,
"Your message to $this->siteName has been received",
"Dear $name ($email),\n\nYour message (shown below) has been received. We will get back to you as soon as possible.\n\nSincerely,\n$this->siteName\n\nPlease note: This message was sent to the email address provided in our contact form. If you did not enter your email, please disregard this message.\n\nYour message:\n$message",
"Your message has been received. We will get back to you as soon as possible.\n\nSincerely,\n$this->siteName\n\nPlease note: This message was sent to the email address provided in our contact form. If you did not enter your email, please disregard this message.",
$this->replyToEmail
);

Expand Down

0 comments on commit 6f00dd0

Please sign in to comment.