Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
TIdSMTP and punycode domains.
#1
My company got a Russian domain 'инвенто.рф'
MS Outlook sends  and receives emails without any problem and not use of punycode convertation.
But I need to make a software email reminder for personnel. 

   UnicodeString email = "slon@ивенто.рф";
   IdMessage->Recipients->EMailAddresses = email;
   if (IdSMTP->Connected())
       IdSMTP->Send(IdMessage);

got an exception: <slon@??????.??>: domain missing or malformed

wher I use a punycode conversion for this domain "slon@xn--b1aghucg1a.xn--p1ai", Indy sends this letter quietly, but letter nowere comes.
Encoding of headers I try both UTF-8 and KOI-8R. Same result.

Maybe any ideas?
Reply


Messages In This Thread
TIdSMTP and punycode domains. - by SergJP - 04-01-2019, 02:28 PM
RE: TIdSMTP and punycode domains. - by rlebeau - 04-02-2019, 07:14 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)