Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Giehl <stefan@matomo.org>2020-05-14 10:52:48 +0300
committerGitHub <noreply@github.com>2020-05-14 10:52:48 +0300
commit0187b71729484a9f173d978239ff0a3cb37a5d7b (patch)
tree770d517a1268808f85abe291371b84b03a0b3d14 /plugins/CoreConsole
parentfb1be4d50ad1f5c3c2c2915fc42caf1f4fd31a2d (diff)
Replace Zend Mail with PHPMailer (#15891)
* require composer package phpmailer/phpmailer * change mail class to use phpmailer instead of Zend_Mail * removes Zend_Mail and Zend_Mime * submodule * fix tests * enable smtp debug for test mail command * fix embedded images * set language for phpmailer * apply some review feedback * removes Zend_Validate (#15907) * don't inline file without cid * submodule update * fix test * decouples Mail class from PHPMailer and moves sending mails to new transport layer * submodule * cleanup * unset xmailer header * simplify mail attachment handling * adds methods to add bcc recipients * change implementation of setReplyTo
Diffstat (limited to 'plugins/CoreConsole')
-rw-r--r--plugins/CoreConsole/Commands/TestEmail.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/CoreConsole/Commands/TestEmail.php b/plugins/CoreConsole/Commands/TestEmail.php
index 6eec81c48e..6d46704fd3 100644
--- a/plugins/CoreConsole/Commands/TestEmail.php
+++ b/plugins/CoreConsole/Commands/TestEmail.php
@@ -38,6 +38,7 @@ class TestEmail extends ConsoleCommand
$subject = "This is a test email sent from $matomoUrl";
$mail = new Mail();
+ $mail->setSmtpDebug(true);
$mail->addTo($email, 'Matomo User');
$mail->setFrom($config->General['noreply_email_address'], $config->General['noreply_email_name']);
$mail->setSubject($subject);