SMTPserver is a freeware application that shows how to use the ADVsystems TWSMTPserver Delphi component.