Req #81615 [Com]: Windows mail should support internationalized email

From: Date: Wed, 03 May 2023 11:35:18 +0000
Subject: Req #81615 [Com]: Windows mail should support internationalized email
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-244359@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=81615&edit=1 ID: 81615 Comment by: amnan12 at aol dot com Reported by: gblanchet at cofomo dot com Summary: Windows mail should support internationalized email Status: Open Type: Feature/Change Request Package: Mail related Operating System: Windows PHP Version: 8.0.12 Block user comment: N Private report: N New Comment: (https://www.barstoolsports.com/blog/3465562/mark-wahlberg-has-officially-spoken-on-an-entourage-reboot-and-its-promising)github.com Previous Comments: ------------------------------------------------------------------------ [2023-01-03 12:20:09] janettabloomquist at gmail dot com IT pros, though, will be able to use internationalized addresses in certain Office 365 features, such as "mail flow rules" or "outbound. Microsoft says that Office 365 will support internationalized email addresses (EAI) in Q1 2018. (https://www.surepayroll.us/)github.com ------------------------------------------------------------------------ [2021-11-30 12:45:38] cmb@php.net > Maybe the PHP native lib could lead the way in this matter? Frankly, I doubt that. Given that the direct SMTP support for mail() is Windows specific (other systems always use an MTA such as sendmail, and that is possible on Windows as well), the moderate amount of work on the implementation[1], and the fact that implementing this in C is error-prone and unlikely to be much more efficient than a PHP implementation, it might be preferable to drop the implementation at all, in favor of userland libraries. [1] <https://github.com/php/php-src/commits/master/win32/sendmail.c> ------------------------------------------------------------------------ [2021-11-15 19:21:11] gblanchet at cofomo dot com Thanks a lot for the quick response. I tried some libraries (like PHPMailer), but many seems to not support it. Maybe the PHP native lib could lead the way in this matter? It would be great to have a native mail function supporting internationalization. I agree it is more a feature than a bug, though. Best regards ------------------------------------------------------------------------ [2021-11-15 11:05:38] cmb@php.net Changing to feature request per the comment above. ------------------------------------------------------------------------ [2021-11-12 11:44:25] heiglandreas@php.net According to https://php.net/mail the *to*-parameter "must comply with » RFC 2822". Which does not allow anything else than ASCII. As the SMTPUTF8 flag is defined in RFC6531 which is titled "SMTP Extension for Internationalized Email". Every client and server implementation can, but does not have to, implement it. So it is perfectly valid that the mail-function for windows so far does not support Internationalized Email. If you need that feature, check out one of the many mail-libraries on https://packagist.org ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at https://bugs.php.net/bug.php?id=81615 -- Edit this bug report at https://bugs.php.net/bug.php?id=81615&edit=1

« previous php.bugs (#244359) next »