indy mail problem
Hello!
I`m using Delphi 6 prof and Indy 8.
I wrote an e-mail forward programm,
but when the "from name" contains special german characters(?, ?, , ?)
i always get an exception like: "illegal argument" (or something like
that!),
because then the
idmessage.from.name property is empty
and the idmessage.from.address property accords the name of the sender
containing some special characters!
i`m using the following code:
idmessage1.Clear;
idmessage1.NoDecode := true;
idpop31.Retrieve(MAILINDEX, idmessage1);
idmessage1.Recipients.EMailAddresses := 'NEWMAILADDRESS';
idsmtp1.send(idmessage1);
How is it possible to forward mail(using indy components), when the
sender/from("name of the person who send the mail") address contains
these special german characters?
i hope my english is understandable :-)
Bora