cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to send order confimations

SOLVED

Unable to send order confimations

 

After upgrading 2.3.2 > 2.3.3, order confirmations are not being send anymore.

Manually resending them also doesn't work. (Although Magento says: "You sent the order email.").

Each orders says: (The order confirmation email is not sent) After iets order ID, even after trying manually sending the Order.

Sending Order Notes to clients do work. 

 

I'm using Mageplaza SMTP plugin, which is able to send test-mails.

Disabling the plugin also didn't help.

The Mageplaza plugin shows the a mail send log, which includes all mail except the order confirmations.

 

I noticed the following error in my log after trying sending a order confirmation:

 

main.ERROR: ' info' can not be matched against dot-atom format [] []

 

Is anyone able to help me out?

Thanks a lot.

1 ACCEPTED SOLUTION

Accepted Solutions

Re: Unable to send order confimations

I resolved this problem myself:

 

Since 2.3.3 The Stores > Sales > Sales emails > Send Order Email Copy To field does not allow a space after the comma between two mail addresses anymore.

 

Screenshot 2019-10-28 at 12.25.32.png

View solution in original post

2 REPLIES 2

Re: Unable to send order confimations

I resolved this problem myself:

 

Since 2.3.3 The Stores > Sales > Sales emails > Send Order Email Copy To field does not allow a space after the comma between two mail addresses anymore.

 

Screenshot 2019-10-28 at 12.25.32.png

Re: Unable to send order confimations

I have created a code update and shared over github. The change should be done as a patch it is shown in core, but please do not update core directly.


https://github.com/magento/magento2/issues/24984#issuecomment-589525476

Replace

public function addTo($address, $name = '')
    {
        $this->addAddressByType('to', $address, $name);

        return $this;
    }

To

public function addTo($address, $name = '')
    {
        if(is_array($address)){
            foreach ($address as $key => $email) {
                $this->addAddressByType('to', trim($email), $name);        
            }
        } else{
            $this->addAddressByType('to', $address, $name);
        }    
        return $this;
    }