Can't send server emails in CodeIgniter 4 |
Dear CodeIgniter team,
I just hanged up to send server emails. I'm preparing email sending code like this: PHP Code: $email_config = Array( It's showing this error message: Code: Unable to send email using PHP mail(). Your server might not be configured to send mail using this method. And giving an error in error log: Code: Email: sendWithMail throwed Use of undefined constant INTL_IDNA_VARIANT_UTS46 - assumed 'INTL_IDNA_VARIANT_UTS46' I want to mention that,
PHP Code: $to = '[email protected]'; Please help. Thanks in advance.
You could hack it away, but I would contact your service provider instead. That's a really old version of ICU you are using. 4.6 where released in 2011, so it's time they upgrade their servers.
http://site.icu-project.org/download/46 ICU are used in PHP intl package.
Okay. I'll notify to my hosting provider to update this and get back to you with the response.
Thanks for your feedback. |
Welcome Guest, Not a member yet? Register Sign In |