Bug #81615 [NEW]: mail function does not send SMTUTF8 flag when sending internationalized emails
From: gblanchet at cofomo dot com
Operating system: Windows
PHP version: 8.0.12
Package: Mail related
Bug Type: Bug
Bug description:mail function does not send SMTUTF8 flag when sending internationalized emails
Description:
------------
WHAT I DID:
I try to send an email with non-ASCII characters in it (RFC6530 and the
following, see https://en.wikipedia.org/wiki/International_email).
WHAT I WANTED TO HAPPEN:
I wanted to see the support of the EAI protocol, that is, I wanted to
see the domain part converted to an A-LABEL and to see the mail function
sends the SMTPUTF8 flag.
WHAT ACTUALLY HAPPENED:
The mail is sent as is without transferring the SMTUTF8 flag.
Test script:
---------------
<?php
mail("email-épreuve@épreuve-acceptation-universelle.org", "TEST FROM
PHP WINDOWS...", "body");
--
Edit bug report at https://bugs.php.net/bug.php?id=81615&edit=1
--
Fix committed: https://bugs.php.net/fix.php?id=81615&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=81615&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=81615&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=81615&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=81615&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=81615&r=support
Expected behavior: https://bugs.php.net/fix.php?id=81615&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=81615&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=81615&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=81615&r=globals
PHP version support discontinued: https://bugs.php.net/fix.php?id=81615&r=phptooold
Daylight Savings: https://bugs.php.net/fix.php?id=81615&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=81615&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=81615&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=81615&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=81615&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=81615&r=mysqlcfg
Thread (7 messages)
- gblanchet at cofomo dot com