Skip to content

Commit

Permalink
Remove invalid default from address (and name)! Fixes #2396
Browse files Browse the repository at this point in the history
  • Loading branch information
Synchro committed Aug 18, 2021
1 parent fd06e76 commit dd803df
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/PHPMailer.php
Original file line number Diff line number Diff line change
Expand Up @@ -103,14 +103,14 @@ class PHPMailer
*
* @var string
*/
public $From = 'root@localhost';
public $From = '';

/**
* The From name of the message.
*
* @var string
*/
public $FromName = 'Root User';
public $FromName = '';

/**
* The envelope sender of the message.
Expand Down

0 comments on commit dd803df

Please sign in to comment.