Topic Path: Symbol Reference > Classes > EIdDirectSMTPCannotAssignHost Class
EIdDirectSMTPCannotAssignHost Class

Exception raised when assigning the Host property in TIdSMTPRelay.

EIdDirectSMTPCannotAssignHost = class(EIdException);

EIdDirectSMTPCannotAssignHost is an EIdException descendant that represents the exception raised when trying to directly assign the Host property in TIdSMTPRelay

EIdDirectSMTPCannotAssignHost is raised with the message RSDirSMTPCantAssignHost

The Host property cannot be assigned directly in TIdSMTPRelay. Set the value in the DNSServer property used to resolve the mail exchange server for addresses found in email messages handled by the TIdSMTPRelay component.

Copyright 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Post feedback to the Indy Docs Newsgroup.