-
Notifications
You must be signed in to change notification settings - Fork 9.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Magento2.3 Email not sending anymore #19795
Comments
Hi @Abdulkadiragoliya. Thank you for your report.
Please make sure that the issue is reproducible on the vanilla Magento instance following Steps to reproduce. To deploy vanilla Magento instance on our environment, please, add a comment to the issue:
where @Abdulkadiragoliya do you confirm that you was able to reproduce the issue on vanilla Magento instance following steps to reproduce?
|
Yes |
Hi @Abdulkadiragoliya thank you for you report, i'm, not able to reproduce following steps you described on clean magento 2.3 instance, this may be related to your custom code, or environment. |
in magento: 2.3, php: 7.2 I got same error: Deprecated Functionality: idn_to_ascii(): INTL_IDNA_VARIANT_2003 is deprecated .. so I downgrade php version to 7.1 then its work. http://php.net/manual/en/migration72.deprecated.php or another solution is to upgrade icu to ICU 4.6 http://www.linuxfromscratch.org/blfs/view/8.3/general/icu.html to check icu current vesion uconv -V INTL_IDNA_VARIANT_2003 (integer) Use IDNA 2003 algorithm in idn_to_utf8() and idn_to_ascii(). This is the default. This constant and using the default has been deprecated as of PHP 7.2.0. INTL_IDNA_VARIANT_UTS46 (integer) Use UTS #46 algorithm in idn_to_utf8() and idn_to_ascii(). Available as of ICU 4.6. |
Thanks for the info @aldf Could it be that https://github.com/magento/zf1/blob/1.14.1/library/Zend/Validate/EmailAddress.php#L455-L457 needs to be patched, the same way the In that case, this ticket should probably be re-opened. And just add another reference to this issue: magento-engcom/php-7.2-support#12 |
Hi @aldf thank you for explanation, i upgrade to 7.2.13. and "welcome email" not comes, but have no exceptions. |
@engcom-backlog-nazar Thank you for verifying the issue. Based on the provided information internal tickets |
mm19in |
Hi, I am using the magento 2.3 developement, On creating a new user I am getting the error like this: It seems a bug please help me on it. |
Working on branch 2.3 and 2.3-develop with PHP 7.2.15 |
has this issue been resolved? Same exact issue here. Running Magento 2.3.1 with php7.2 |
I also have the same issue Magento 2.3.1 and php7.2 |
Make sure that PHP extension int (https://www.php.net/manual/en/book.intl.php) is installled and loaded. You can check executing via command line in php -m |
Guys this is the solution. My server ran CentOS6....php7.2 and Magento 2.3.1 cannot work with CentOS6.....you need CentOS7... Until your server gets CentOs7, you need to downgrade your php to 7.1 thats the solution. Happen to me, investigated for weeks. Fixed it. Waiting for my server to update their software to version 7 so I can use php7.2....it has to do with a messed up php ICO 4.2 that exists in OS6, whereas php7.2 requires version ICO 4.6 which only comes with CentOs7... DOWNGRADE to php 7.1 |
Can I downgrade to 7.1 if I'm running magento 2.3.1???? Will it work? |
Yes. I did it and it worked perfectly fine with Magento 2.3.1 |
No, But with me in Magento 2.3.0 After downgrade php version, Some of the basic functionality dosn't work in PHP 7.1 |
Deprecated Functionality: idn_to_ascii(): INTL_IDNA_VARIANT_2003 is deprecated in Any luck on this error. |
i can confirm. |
Also having this issue. As @styzzz pointed out it might be because I'm trying to run Magento 2.3.1 & PHP7.2 within the scope of CentOS 6.... I'm going to see if I can find any work around. I would prefer not to have to downgrade PHP or upgrade CentOS.... The provision profile for PHP 7.1 on GoDaddy does not work for Magento, because its not the minimum supported version of PHP 7.1....its 7.1.20 instead of 7.1.33.... second, CentOS6 cannot be upgraded on a GoDaddy VPS; they give you a notice that it will be deprecated next year and if you want to upgrade before hand, you have to get a new server and service costing an extra $119 a month.... otherwise you will be automatically upgraded next November. |
I ended up patching my PHP7.1 and downgrading to it to resolve this problem... |
I had to downgrade to PHP 7.1 (7.1.13) which fixed my issues so far. |
Hopefully it will be solved soon ... kinda want to move to PHP 7.2 .... a small point of migrating from M 2.2.9 to M 2.3.2 ;) |
Hopefully this will work for temporary solution with php7.2 and magento2.3.x For avoiding the error: Deprecated Functionality add error_reporting(E_ALL ^ E_DEPRECATED); into bootstrap.php so email are works |
Hi @engcom-Charlie. Thank you for working on this issue.
|
Hello @Abdulkadiragoliya I am not able to reproduce this issue on a fresh Magento 2.4-develop. Testing scenario:
So i have to close this issue as not reproducible. Please feel free to comment, reopen or create new ticket according to the Issue reporting guidelines Thank you for collaboration. |
@engcom-Charlie: for completeness sake, can you also test with an older version of the ICU library? Thanks! |
Preconditions (*)
Steps to reproduce (*)
Expected result (*)
Actual result (*)
when order placed or contact form submited
email not send to customer/admin
Exception log display Error : [2018-12-15 06:13:41] main.CRITICAL: Deprecated Functionality: idn_to_ascii(): INTL_IDNA_VARIANT_2003 is deprecated in /public_html/vendor/zendframework/zend-validator/src/EmailAddress.php on line 560 {"exception":"[object] (Exception(code: 0): Deprecated Functionality: idn_to_ascii(): INTL_IDNA_VARIANT_2003 is deprecated in /home/frankjewelers/public_html/vendor/zendframework/zend-validator/src/EmailAddress.php on line 560 at /home/public_html/vendor/magento/framework/App/ErrorHandler.php:61)"}
The text was updated successfully, but these errors were encountered: