Newsgroups : Borland : borland.public.delphi.internet.winsock : 2005 Aug : Little Problem with Subject.

www.cryer.info
Managed Newsgroup Archive

Little Problem with Subject.

Subject:Little Problem with Subject.
Posted by:"Klaus Dewald" (klaus.dewa..@efasoftware.de)
Date:Thu, 11 Aug 2005 23:19:41

Hi @ all,

in the code

      IdSMTP.Connect;
      IdMessage.Clear;
      IdMessage.Recipients.EMailAddresses := ToAdress;
      IdMessage.From.Address := FromAdress;
      IdMessage.Subject := 'Protokolldatei';
      IdMessage.Body.LoadFromFile(Protokoll.FileName);
      IdSMTP.Send(IdMessage);
      IdSMTP.Disconnect;

i send a protocol-file inside a message. But in my eMail-Client
(Thunderbird 1.0) the subject is not shown. In the Debugger i saw that
it's normal set into the property. In the received eMail it's not shown.
I looked at the full headers, but it's not inside there. There is no
header with the beginning "Subject: "

Can anybody help me?

Klaus Dewald

Replies:

www.cryer.info
Managed Newsgroup Archive