0

Just a curiosity really. I can't find a reason for it anywhere.

Why doesn't php mail() mailto allow you to use a semicolon to separate the email addresses?

Edited by Tinnin

3
Contributors
5
Replies
44
Views
4 Years
Discussion Span
Last Post by cereal
1

Yes. The RFC cited in PHP documentation explains that the semicolon is used to separate groups of mails, for example:

To: list-a: abc@localhost.tld, cba@localhost.tld;, list-b: admin@localhost.tld, info@localhost.tld;
0

Some mail clients (Outlook) used to allow semi-colons, but only in the interface, when sending the application has to switch to commas.

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.