2 questions/problems

Giganews Newsgroups
Subject: 2 questions/problems
Posted by:  Connie McBride (ccoki…@iwon.com)
Date: Fri, 2 Sep 2005

Using SMTP, Delphi 7, WinXP
Problem 1 :
I am setting the 'reply to' information on my message.
MS outlooks reports it correctly.
My .iwon email, however, reports the return mailing address (and the from
address) to 'Mailer-Daemon'.

Problem 2 :
I have the following code :
      if (rList.Count > 0) or (uList.Count > 0) then
      begin
        with TIdText.Create(emMessage.MessageParts, nil) do
        begin
            ContentType := 'text/html';
            ParentPart := ppart;
            Body.LoadFromFile(fName);
            for x := reBody.Lines.Count - 1 downto 0 do
              Body.Insert(0, reBody.Lines[x]);
        end;
      end
      else
        emMessage.Body.Assign(reBody.Lines);

Everything is attached or embedded properly, BUT
if I have 3 lines of info in reBody (which is an rtf control), then I only
get one line in my email.
For example :
1
2
3
gets put in my email as 1 2 3.

Replies