add ownermail as "setfrom". Without this the email method ends always in status "phpmailer"and not "smtp"
Dieser Commit ist enthalten in:
Ursprung
f882c1383e
Commit
e59efe83e7
@ -73,9 +73,12 @@ class MailConfigCheck extends AdminDetailsController
|
||||
protected function getCurrentMailer()
|
||||
{
|
||||
try {
|
||||
$shop = Registry::getConfig()->getActiveShop();
|
||||
|
||||
$mail = oxNew(Email::class);
|
||||
$mail->setRecipient($this->testMailAddress);
|
||||
$mail->setBody('.');
|
||||
$mail->setFrom($shop->getFieldData('oxowneremail'));
|
||||
$mail->send();
|
||||
$this->addTplParam('mailer', $mail->getMailer());
|
||||
} catch (Exception $e) {
|
||||
|
Laden…
x
In neuem Issue referenzieren
Einen Benutzer sperren