Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Netzwerke (https://www.delphipraxis.net/14-netzwerke/)
-   -   Delphi Einige eMails über Indy TidSMTP und IidMessag kommen leer an (https://www.delphipraxis.net/129304-einige-emails-ueber-indy-tidsmtp-und-iidmessag-kommen-leer.html)

mdanielj 16. Feb 2009 18:21


Einige eMails über Indy TidSMTP und IidMessag kommen leer an
 
Hi,

ich verschicke eMails mit Anhang über Indy TidSMTP und IidMessage.

Bei den Meisten kommen die eMails an, nur Empfänger bei web.de und freenet.de erhalten eine leere eMail, ohne Anhang und Text, nur Betreff.

Ich schicke mir selbst eine Kopie aller eMails, die auch einwandfrei ankommen.

Bei Web.de sieht der Header so aus:

Zitat:

Received: from [87.230.42.4] (helo=vwp.webpack.hosteurope.de)
by mx32.web.de with esmtp (WEB.DE 4.110 #277)
id 1LZ7hh-0001P1-00
for mxxxxl@web.de; Mon, 16 Feb 2009 18:56:25 +0100
Received: from dslb-088-074-019-013.pools.arcor-ip.net ([88.74.19.13] helo=buero2); authenticated
by vwp.webpack.hosteurope.de running ExIM using esmtpa
id 1LZ7hc-0001m3-7V; Mon, 16 Feb 2009 18:56:25 +0100
From: Name = <name@domain.de>
Subject: Wochenplan 16.02.2009
To: mxxxxl@web.de
Content-Type: multipart/mixed"; boundary="ZWWmG8RHqUjzljmJ38btZ3PfuS=_jqwqa8"
MIME-Version: 1.0
Date: Mon, 16 Feb 2009 18:54:17 +0000
X-bounce-key: webpack.hosteurope.de;mail@domain.de;1234806985;ce fba52d;
Message-Id: <E1LZ7hh-0001P1-00@mx32.web.de>
Sender: mail@domain.de
Quellcode für das Senden:

Delphi-Quellcode:
   idmsgsend.MessageParts.Clear;
         idmsgsend.Subject := 'Wochenplan ' + name + ’ ’ + datetostr(d);
         idmsgsend.Body.Clear;
         idmsgsend.Body.Add('Hallo ' + name + ',');
         idmsgsend.Body.Add('');
         idmsgsend.Body.Add('Anbei findest Du die aktuellen Wochenpläne!');
         idmsgsend.Body.Add('');
         idmsgsend.Recipients.Clear;
         idmsgsend.Recipients.EMailAddresses := email;
         IdMsgSend.ContentType := 'multipart/mixed"';
         TIdAttachmentFile.Create(idmsgsend.MessageParts, 'c:\datei.pdf');
         TIdAttachmentFile.Create(idmsgsend.MessageParts, 'c:\datei.pdf');
         SMTP.Send(IdMsgSend);
Hat jemand eine Idee, wo der Fehler liegt?

Danke.


Alle Zeitangaben in WEZ +1. Es ist jetzt 00:40 Uhr.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024-2025 by Thomas Breitkreuz