Autor Beitrag
Biarchiv
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 688



BeitragVerfasst: Fr 22.01.10 15:53 
Hallo,

ich möchte gern eine einfache Textmail mit dem IndyClient auf den IndyServer versenden, um nicht von 3nd Mail-Programmen abhängig zu sein.

Leider wenn ich beim Test folgendes versuche, kommt eine Fehlermessagebox ohne Text. Es wurden keine Einstellungen im Objectinspector verändert.

ausblenden Delphi-Quelltext
1:
2:
3:
IdSMTPServer1.Active := true;
IdSMTP1.QuickSend('127.0.0.1''Subject''ToMail@gmx.at''FromMail@gmx.at''Body Text String');
IdSMTPServer1.Active := false;
Mitmischer 1703
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 754
Erhaltene Danke: 19

Win 7, Debian
Delphi Prism, Delphi 7, RAD Studio 2009 Academic, C#, C++, Java, HTML, PHP
BeitragVerfasst: Fr 22.01.10 16:59 
Debug doch mal mit F7. Unter Delphi 2009 kommst du damit in die internen Methoden, vielleicht findest du da den Fehler. Firewall hast du aus?

_________________
Die Lösung ist nicht siebzehn.
Xentar
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 2077
Erhaltene Danke: 2

Win XP
Delphi 5 Ent., Delphi 2007 Prof
BeitragVerfasst: Fr 22.01.10 17:38 
Eine Fehlermeldung, ohne Text?
Du arbeitest nicht zufällig mit Threads, oder?

_________________
PROGRAMMER: A device for converting coffee into software.
Biarchiv Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 688



BeitragVerfasst: Fr 22.01.10 17:47 
Hallo,

nein keine Threads.
Ich hab nun die Probleme gefunden. Läuft leider noch immer nicht.

Was muss ich alles beim Server mit Objekte belegen?
IdSMTPServer1MailFrom, IdSMTPServer1MailTo, ...