48 lines
4.0 KiB
Plaintext
48 lines
4.0 KiB
Plaintext
// Copyright (c) 1997-2001 Microsoft Corporation, All Rights Reserved
|
|
|
|
[locale(1033)]
|
|
class SMTPEventConsumer : __EventConsumer
|
|
{
|
|
[key] string Name;
|
|
[not_null] string SMTPServer;
|
|
[Template] string Subject;
|
|
[Template] string FromLine;
|
|
[Template] string ReplyToLine;
|
|
[Template] string Message;
|
|
[Template] string ToLine;
|
|
[Template] string CcLine;
|
|
[Template] string BccLine;
|
|
string HeaderFields[];
|
|
};
|
|
|
|
Instance of __Win32Provider as $SMTPCONS_P
|
|
{
|
|
Name = "SMTPEventConsumer";
|
|
Clsid = "{C7A3A54B-0250-11d3-9CD1-00105A1F4801}";
|
|
HostingModel = "LocalSystemHost";
|
|
|
|
};
|
|
|
|
Instance of __EventConsumerProviderRegistration
|
|
{
|
|
Provider = $SMTPCONS_P;
|
|
ConsumerClassNames = {"SMTPEventConsumer"};
|
|
};
|
|
|
|
instance of __namespace{ name="ms_409";};
|
|
#pragma namespace("ms_409")
|
|
|
|
[AMENDMENT, LOCALE(0x409)]
|
|
class SMTPEventConsumer : __EventConsumer
|
|
{
|
|
[key,Description("A unique name identifying this instance of the SMTPEventConsumer.") : Amended] string Name;
|
|
[Description("Local SMTP Server") : Amended] string SMTPServer;
|
|
[Description("The subject of the email message.") : Amended] string Subject;
|
|
[Description("From line for the email message. If NULL, a from line will be constructed of the form WinMgmt@MachineName") : Amended] string FromLine;
|
|
[Description("Reply-To line for the email message. If NULL, no Reply-To field will be used.") : Amended] string ReplyToLine;
|
|
[Description("The body of the email message.") : Amended] string Message;
|
|
[Description("The email addresses of those persons to be included on the TO: line. Addresses must be separated by commas or semicolons.") : Amended] string ToLine;
|
|
[Description("The email addresses of those persons to be included on the CC: line.") : Amended] string CcLine;
|
|
[Description("The email addresses of those persons to be included on the BCC: line.") : Amended] string BccLine;
|
|
[Description("The header fields will be inserted into the SMTP email header without interpretation.") : Amended] string HeaderFields[];
|
|
}; |