Autor Beitrag
web
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 38



BeitragVerfasst: Mi 14.01.04 11:21 
hallo,
ich versuche über die smtp komponente eine e-mail zu vershcicken, das Problem ist, és taucht immer ein fehler auf, folgernder:

503 RCTP first (#5.5.1)

mein Code zum versenden sieht so aus:

ausblenden Delphi-Quelltext
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
   // smtp (mail senden)
   smtp.PostMessage.Attachments.Add('banner.swf');
   smtp.PostMessage.ToAddress.Clear;
   smtp.PostMessage.Subject:=Mailbetreff.lines[0];
   smtp.PostMessage.body.text:=Antwortmail.lines.text;
   smtp.PostMessage.fromaddress:=adresse.text;
   smtp.postmessage.date:=DateToStr(Date);
   smtp.PostMessage.ReplyTo:=adresse.text;
   smtp.PostMessage.ToAddress.add(Edit1.Text);
   smtp.connect;
   try
   smtp.SendMail;
   finally
   smtp.disconnect;


Noch dazu, die angaben in der SMTP komponente wurden gemacht (host, ... ect.)

Moderiert von user profile iconPeter Lustig: Code- durch Delphi-Tags ersetzt
web Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 38



BeitragVerfasst: Mi 14.01.04 13:48 
schuldigung, ... kann mri keiner helfen ?
Christian S.
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 20451
Erhaltene Danke: 2264

Win 10
C# (VS 2019)
BeitragVerfasst: Mi 14.01.04 14:13 
Hallo!

Bitte keine Schiebepostings und schon gar nicht, wenn die Frage erst 2,5h alt ist. Ein Bisschen mehr Geduld muss man schon mitbringen!

MfG
Peter

_________________
Zwei Worte werden Dir im Leben viele Türen öffnen - "ziehen" und "drücken".
web Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 38



BeitragVerfasst: Mi 14.01.04 14:22 
tut mir leid, .... weiß denn niemand ne antwort ?
PheliX
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 59



BeitragVerfasst: Mi 14.01.04 15:02 
Kanns sein, dass das was mit dem POP account zu tun hat? Also, dass man sich zuerst mit pop anmelden muss? kann auch sein dass das ne andre fehlermeldung is.... naja egal
web Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 38



BeitragVerfasst: Mi 14.01.04 15:23 
ich werds mal versuchen, danke schonmal!