Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Setting ContentType for bidi language
#1
Hello
 
I try to send an email using IdSMTP and IdMessage components with Hebrew on body text.
I use those settings:

Code:
IdMessage := 'UTF_8';
If HaveAttachments then
  IdMessage.ContentType := 'multipart/mixed';
Else
  IdMessage.ContentType := 'text/plain';

When I add attachments the emails arrive ok,
Without attachments the body text is replaced with questions marks.
 
What I'm doing wrong?
Reply


Messages In This Thread
Setting ContentType for bidi language - by sorinh - 02-20-2019, 11:20 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)