Autor Beitrag
Christoph Englmann
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 276



BeitragVerfasst: Mo 12.09.05 13:56 
hallo,

verschicke mittels IDSMTP und IDMESSAGE emails aus einem Programm heraus..
Frage: wie kann ich es abstellen, dass eine Lesebestätigung der email mit angefordert wird?


danke
christoph
Hansi@OMG
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 304

Vista
Delphi 2006 Prof., Lazarus
BeitragVerfasst: Di 13.09.05 11:12 
Poste mal bitte was du alles da reinschreibst. Normalerweise definiert man das im Header von der E-Mail.
Wenn du deine Sourcecode postest kann ich dir vielleicht helfen.

_________________
Who doesn't know the Micrsoft developer "Mahatma Fatal Error"?
Christoph Englmann Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 276



BeitragVerfasst: Mi 14.09.05 13:25 
hallo,

erstmal danke für die antwort....

hier der code:
ausblenden Delphi-Quelltext
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27:
28:
IDSMTP1.Connect;
  IDMessage1.Body.Assign (Memo1.Lines);
  IDMessage1.From.Text := 'verkehrsinfo.kvr@muenchen.de';
  IDMessage1.ReplyTo.EMailAddresses := 'verkehrsinfo.kvr@muenchen.de';
  IDMessage1.Recipients.EMailAddresses := Email_Adressaten;
  IDMessage1.Subject := 'Verkehrsmeldungen';
  IDMessage1.ReceiptRecipient.Text := 'verkehrsinfo.kvr@muenchen.de';


//Anhang
if ( (fileexists('C:\_vzm\bstm.htm')) OR (fileexists('C:\_vzm\vm.htm') ) ) = false then
begin
  showmessage('Die entsprechenden Verkehrsdateien konnten nicht gefunden werden!'+chr(13)+'Sollte dieser Fehler erneut auftreten, so wenden Sie sich bitte an Ihren Systembetreuer.');
  exit;
end;
  //anhang nur einmal anhängen
  if Anhang = false then
  begin
    TIDAttachment.Create(IDMessage1.MessageParts, 'C:\_vzm\eVM.htm');
 //   TIDAttachment.Create(IDMessage1.MessageParts, 'C:\_vzm\eBST.htm');
    Anhang := true;
  end;

try
  IDSMTP1.Send(IDMEssage1);
finally
  IDSMTP1.Disconnect;
end;
matze
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 4613
Erhaltene Danke: 24

XP home, prof
Delphi 2009 Prof,
BeitragVerfasst: Mi 14.09.05 13:42 
also normalerweise sollte das nicht passieren, dass er da ne Empfangsbestätigung braucht. Postde doch mal den Quelltext der E-Mail so wie sie in dem Empfänger E-Mail Programm ankommt.

_________________
In the beginning was the word.
And the word was content-type: text/plain.
Hansi@OMG
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 304

Vista
Delphi 2006 Prof., Lazarus
BeitragVerfasst: Mi 14.09.05 17:10 
Seh ich auch so. Da im Quelltext auch nichts steht, dass das hervorrufen könnte und die Indys keinen Wert haben, der per Defaulteinstellung nach einer Empfangsbestätigung verlangt. Das könnte höchstens am Mailprogramm liegen.

_________________
Who doesn't know the Micrsoft developer "Mahatma Fatal Error"?
matze
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 4613
Erhaltene Danke: 24

XP home, prof
Delphi 2009 Prof,
BeitragVerfasst: Mi 14.09.05 20:07 
oder am Mail-Server der da irgend einen Header Rewrite macht...

_________________
In the beginning was the word.
And the word was content-type: text/plain.