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?