Problem with embedding pictures and multiple recipients

Giganews Newsgroups
Subject: Problem with embedding pictures and multiple recipients
Posted by:  Michael Bickel (Michael.Bick…@esmb.de)
Date: Sun, 6 Feb 2011

?Hi,=20

i have a strange problem:

i send and email with embedded pictures  and multiple recipients
and as soo as i do that the mail isn't send to all recipients any more

e.G.=20
i have=20
adres…@xyz.com, adres…@xyz.com, adres…@xyz.com

then the message will only be send to the first and (strangely) the =
last, but not the middle one.
As soon as i take the picture out everything works ok

i tried several options/combinations nothing changed.

Are there any know issues?

Basically it's a code like that:

  IdMessage1.ContentType :=3D 'multipart/mixed';
  IdMessage1.ContentDisposition :=3D 'inline';
  idMessage1.From.address :=3D myemail.eEmail;
  idMessage1.Subject :=3D subjekt;
  IdMessageBuilderHtml :=3D TIdMessageBuilderHtml.Create;
    try

      if picliste.Count > 0 then
      begin
        for i :=3D 0 to picliste.Count - 1 do
          IdMessageBuilderHtml.HtmlFiles.Add(picliste.Strings[i]);
      end;
      if dateien.Count > 0 then
      begin
        for i :=3D 0 to dateien.Count - 1 do
          IdMessageBuilderHtml.Attachments.Add(dateien.Strings[i]);
      end;

      IdMessageBuilderHtml.PlainText.Text :=3D plaintext;

      IdMessageBuilderHtml.Html.Text :=3D nachricht;
      IdMessageBuilderHtml.FillMessage(IdMessage1);
    finally
      IdMessageBuilderHtml.Free;
    end;

    for i :=3D 0 to receiverListe.Count - 1 do
    IdMessage1.Recipients.Add.Address :=3D receiverliste.Strings[i];

The picture is refered with a CID: statement

Like i said i tried several options / combinations (Charset/ =
Pipelining...) - nothing was helping.

I am using D2009 with the INDY components included with D2009.
As far as i read if i would upgrade the indy compoments Datasnap would =
be broken...

Are there are any know issues or is there something i miss?

Yours
Michael Bickel

Replies