Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion public_html/lists/admin/class.phplistmailer.php
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ public function __construct($messageid, $email, $inBlast = true, $exceptions = f
if (isset($_GET['page']) && $_GET['page'] == 'send') {
$this->inBlast = false;
}
$this->Helo = getConfig('domain');
$this->Helo = defined('PHPMAILER_HELO') && PHPMAILER_HELO ? PHPMAILER_HELO : getConfig('domain');

if ($GLOBALS['emailsenderplugin']) {
$this->Mailer = 'plugin';
Expand Down
4 changes: 4 additions & 0 deletions public_html/lists/config/config_extended.php
Original file line number Diff line number Diff line change
Expand Up @@ -640,6 +640,10 @@
// it can either be "ssl" or "tls" or false to not use SSL/TLS at all
// define("PHPMAILER_SECURE",'ssl');

// Hostname to use in the SMTP HELO/EHLO greeting. Defaults to the "domain" setting.
// Set this when your SMTP server rejects the list domain as HELO (e.g. use the web server's FQDN)
// define('PHPMAILER_HELO', 'www.mydomain.com');

//# SMTP debugging
// Enable debugging output by phpmailer when sending test emails
// See https://phpmailer.github.io/PHPMailer/classes/PHPMailer-PHPMailer-PHPMailer.html#property_SMTPDebug
Expand Down