Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

IConverterSession::MAPIToMime encodes non-ascii characters contained email address in wrong way

19 views
Skip to first unread message

Ami

unread,
Apr 7, 2010, 1:42:44 PM4/7/10
to
I am using IConverterSession::MAPITOMime() function to get mime
stream. If any if the recipient address contains any non-ascii
international character (e.g. testñem...@domain.com) then after
getting 'Q' encoded, it gets converted to an unacceptable email
address where '@' is also encoded(<=?utf-8?
Q?’test=C3=B1email=40domain.com’?=). Is it know issue? Any idea how to
make it working?
Thanks for your time in advance.

Dmitry Streblechenko

unread,
Apr 7, 2010, 2:35:27 PM4/7/10
to
Are upper ASCII characters even allowed in SMTP addresses?
--
Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
-
"Ami" <ver_a...@yahoo.com> wrote in message
news:777cad34-e555-4dd4...@n34g2000yqb.googlegroups.com...

Ami

unread,
Apr 8, 2010, 3:35:18 AM4/8/10
to
Hi Dmitry, Thanks for your response. Non-ascii international
characters are not allowed in email address as per RFC5322. This
problem is happening with Outlook when user inputs any of such
character in email by mistake and blows up the complete recipient list
after Q encoding applied by IConverterSession (as this email address
has no @ sign to distinguish from other addresses). I really do not
want to parse the complete recipient list for each message before
message dispatch. What would be your suggestion to deal with such
scenarios, if i still want to use IConverterSession?
Thanks,

Dmitry Streblechenko

unread,
Apr 9, 2010, 4:31:14 PM4/9/10
to
CA nyou modify the mesage recipients first before converting to MIME?

--
Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
-
"Ami" <ver_a...@yahoo.com> wrote in message

news:365c6c67-91c6-43b6...@k33g2000yqc.googlegroups.com...

0 new messages