From c0af956a98ac3967862a8e6fe8da89f6b8e0a5f7 Mon Sep 17 00:00:00 2001 From: null <32590246+GlitchWitchIO@users.noreply.github.com> Date: Mon, 24 Aug 2020 16:17:59 -0500 Subject: [PATCH] Define `From` email as users email to prevent mail bounce. --- src/Route.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Route.php b/src/Route.php index 4cbb6c12..dd322142 100644 --- a/src/Route.php +++ b/src/Route.php @@ -309,7 +309,7 @@ public function callback($phpInput) $this->basic->htmlBlocks('mail') ); - $headers[] = 'From: ezXSS'; + $headers[] = 'From:' . $setting['email']; $headers[] = 'MIME-Version: 1.0'; $headers[] = 'Content-type: text/html; charset=iso-8859-1'; mail(