You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
48 lines
4.1 KiB
48 lines
4.1 KiB
// Copyright (c) 1997-2003 Microsoft Corporation, All Rights Reserved
|
|
|
|
[locale(1033)]
|
|
class SMTPEventConsumer : __EventConsumer
|
|
{
|
|
[key] string Name;
|
|
[not_null, write] string SMTPServer;
|
|
[Template, write] string Subject;
|
|
[Template, write] string FromLine;
|
|
[Template, write] string ReplyToLine;
|
|
[Template, write] string Message;
|
|
[Template, write] string ToLine;
|
|
[Template, write] string CcLine;
|
|
[Template, write] string BccLine;
|
|
[write] string HeaderFields[];
|
|
};
|
|
|
|
Instance of __Win32Provider as $SMTPCONS_P
|
|
{
|
|
Name = "SMTPEventConsumer";
|
|
Clsid = "{C7A3A54B-0250-11d3-9CD1-00105A1F4801}";
|
|
HostingModel = "NetworkServiceHost";
|
|
|
|
};
|
|
|
|
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[];
|
|
};
|