[wp-trac] [WordPress Trac] #30128: Allow to use associative arrays beside indexed arrays in wp_mail $headers
WordPress Trac
noreply at wordpress.org
Tue Oct 28 12:43:06 UTC 2014
#30128: Allow to use associative arrays beside indexed arrays in wp_mail $headers
-------------------------------------------------+-------------------------
Reporter: marsjaninzmarsa | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting
Component: Mail | Review
Severity: normal | Version: trunk
Keywords: has-patch needs-testing needs-codex | Resolution:
| Focuses:
-------------------------------------------------+-------------------------
Comment (by marsjaninzmarsa):
It is also possible to use single line notation for multiple CC/BCC, eg:
{{{
$headers = [
'From: Me Myself <me at example.net>',
'Cc: Fo McFoo <foo at example.com>, bar at example.com',
];
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/30128#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list