Self introduction: Krzysztof Drewniak
Nick Barnes
Nick.Barnes at pobox.com
Thu Nov 12 13:19:51 UTC 2009
At 2009-11-12 11:36:33+0000, Gervase Markham writes:
> On 07/11/09 03:04, Krzysztof Drewniak wrote:
> > P.S. Where's the message sending code?
>
> SendMessageToMTA?
>
> > P.P.S. Is ; a legal email address character (Google didn't help much).
>
> No, it's not - certainly not in practice, anyway.
See RFC822 (or RFC5322, which will supercede):
<http://www.rfc-editor.org/rfc/rfc822.txt>
<http://www.rfc-editor.org/rfc/rfc5322.txt>
Search 5322 for "atext". Short answer: you have to quote it.
Unquoted, it has magic semantics as part of a mailbox group, like this:
To: My Magic Recipient List: fred at bar.baz, Jim <jim at spong.wibble>, "Sheila Semi;colon" <sheila at somewhere.else>;
The addresses in that group will generally be removed from the header
by the MTA, so when Fred, Jim and Sheila get it, it will look like
this:
To: My Magic Recipient List:;
I hope this helps. RFC5322 has appendices with lots more examples.
Nick B
More information about the developers
mailing list