Solved

How can i get Delphi to send emails with Accented Characters?

Posted on 2010-09-02
3
717 Views
Last Modified: 2012-05-10
I've written a program using Delphi 2009 with Indy components to send emails.  When a user in Brazil tries to send an email in my program with an accented character the accent gets lost when the email is received at the other end.  Does anyone know how I can fix this?  Thanks in advance.  
0
Comment
Question by:alanrogerson2
3 Comments
 
LVL 14

Expert Comment

by:DragonSlayer
ID: 33585969
1. Is your string Unicode?
2. Is the encoding of the mail set to UTF8?
0
 

Author Comment

by:alanrogerson2
ID: 33586164
How would i know if my string is unicode? I set the charset property of the Indy T to 'utf-8' but that doesn't seem to have helped.

0
 
LVL 5

Accepted Solution

by:
wd123 earned 500 total points
ID: 34421369
try this params:
IdSMTP.QuickSend(.... , 'text/plain', 'utf-8', 'quoted-printable');
0

Featured Post

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
oracle global variables 4 68
LAN or WAN ? 11 90
Twebbrowser in Fire monkey android scrolling to bottom 1 29
Delphi: sending SMS on android platform 1 19
A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
Introduction The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…

776 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question