Fix the issue not receive email after canceling order on the frontend

Created by Rosa Truong, Modified on Wed, 14 Apr, 2021 at 3:40 PM by Rosa Truong

Issue: 

When I cancel an order on the front side and after not getting email on user & admin side 

Please check it. What is the issue in receiving mail?


Solution:

The issue is caused due to our module's bug.

The root of this issue is that the function mail PHP on Magento is rewritten from Magento 2.3.2 and above so the issue will happen when the email's sender name AddTo has specific characters like @,?

To solve the issue, we have changed this file app/code/Bss/CancelOrder/Controller/Index/Index.php

Please check and apply the fixed file on the site.


If you need any further assistance, please feel free to contact us.

We're more than happy to support you.


Attachments (1)

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article