![]() Sub-Properties |
![]() ![]() ![]() |
acThreadSafeLog component.
|
type
|
TacSMTPPriority = (mpHighest, mpHigh, mpNormal, mpLow, mpLowest);
|
|
{ TacThreadSafeLogSendMailProperties }
|
TacThreadSafeLogSendMailProperties = class
|
public
|
property Limit: Cardinal default 0;
|
property MsgContentCharset: String default 'iso-8859-1';
|
property MsgFromAddress: String;
|
property MsgFromName: String;
|
property MsgToAddress: String;
|
property MsgToName: String;
|
property MsgSubject: String;
|
property MsgPriority: TacSMTPPriority default mpNormal;
|
property SMTPHost: String default 'localhost';
|
property SMTPPort: Word default 25;
|
property Threaded: Boolean default False;
|
end;
|
|
property SandMail: TacThreadSafeLogSendMailProperties;
|
The SendMail structure used to specify the SMTP properties and headers of email message, which could be sent using EmailLastRecords method (this method can be used to send an email message with last N log entries, to inform the administrator about some fatal error).
|
|
The SMTPHost and SMTPPort properties specifies the host and port of SMTP server which relays the email messages.
|
|
Limit property specifies the maximum number of messages which could be sent per application session (0 is unlimited).
|
|
Threaded specifies whether email should be sent in separate or in current application thread (True use separate thread).
|
|
Other properties (with Msg
prefix), used to specify the headers of email message.
|
EmailLastRecords method;
|
acSendMail component.
|