Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Netzwerke (https://www.delphipraxis.net/14-netzwerke/)
-   -   Delphi Indy 9 SMTP Server, Empty From field (https://www.delphipraxis.net/98020-indy-9-smtp-server-empty-field.html)

Remko 20. Aug 2007 21:30


Indy 9 SMTP Server, Empty From field
 
I'm testing with idSMTPServer, when a new mail arrives the IdSMTPServer1ReceiveMessage(ASender: TIdCommand;
var AMsg: TIdMessage; RCPT: TIdEMailAddressList; var CustomError: string); is triggered.
I test by sending this with telnet
telnet localhost 25
helo me
mail from:someone@somewhere.net
rcpt to:user@domain.com
data
subject:some subject


this is the message
.

quit

For some reason I don't understand the AMsg.From.Text is empty, any suggestions why?


Alle Zeitangaben in WEZ +1. Es ist jetzt 04:08 Uhr.

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