Newsgroups : Borland : borland.public.delphi.internet.winsock : 2007 Aug : TIdSMTPServer (V9)

www.cryer.info
Managed Newsgroup Archive

TIdSMTPServer (V9)

Subject:TIdSMTPServer (V9)
Posted by:"Jamie Dale" (jamie.da..@yahoo.com)
Date:Wed, 29 Aug 2007 20:29:28

Hi

Just been going through the demo for TIdSMTPServer and something has struck
me:

OnCommandRCPT(ASender, Accept, ToForward, EMailAddress.Address,
          CustomError);

If I set ToForward := True the SMTP server does not forward the mail. I
assume the server only receives and does not forward it automatically?

If so, why does the ToForward boolean exist? - Is it simply to affect the
reply & code that is sent back to the client?

Do I need to manually implement sending with a SMTP client?

TIA

Replies:

www.cryer.info
Managed Newsgroup Archive