Skip to content

Commit

Permalink
Define From email as users email to prevent mail bounce.
Browse files Browse the repository at this point in the history
  • Loading branch information
GlitchWitch committed Aug 24, 2020
1 parent 4c4c06b commit c0af956
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Route.php
Expand Up @@ -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(
Expand Down

0 comments on commit c0af956

Please sign in to comment.