add ownermail as "setfrom". Without this the email method ends always in status "phpmailer"and not "smtp"
Dieser Commit ist enthalten in:
Ursprung
935a935618
Commit
30dc8f445a
@ -78,9 +78,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'));
|
||||
set_error_handler([$this, 'exceptions_error_handler']);
|
||||
$mail->send();
|
||||
$this->addTplParam('mailer', $mail->getMailer());
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren