Apostrophe in email address

Giganews Newsgroups
Subject: Apostrophe in email address
Posted by:  Alex Ivlev (nospam@nospam.net)
Date: Mon, 24 Jan 2005

I'm trying to send a message (using TIdSMTP) to somebody whose email address
contains an apostrophe, e.g. "O'Mall…@somewhere.net". That results in:

---------------------------
Debugger Exception Notification
---------------------------
Project mail1.exe raised exception class EIdSMTPReplyError with message
'Cannot contain a quote, unless g_rcpt_quote true'.
---------------------------

What is that all about, and how do I get around it? The address is valid and
Outlook doesn't have this problem.

Alex

Replies