IFsrmActionEmail interface (fsrm.h)
[This interface is supported for compatibility but it's recommended to use the FSRM WMI Classes to manage FSRM. Please see the MSFT_FSRMAction, MSFT_FSRMFMJAction, and MSFT_FSRMFMJNotificationAction classes.]
Used to send an email message in response to a quota or file screen event.
To create an email action, call one of the following methods and specify FsrmActionType_Email as the action type:
The create methods return an IFsrmAction interface. To get this interface, call the QueryInterface method and specify IID_IFsrmActionEmail as the interface identifier.For file management jobs, see the IFsrmActionEmail2 interface.
Inheritance
The IFsrmActionEmail interface inherits from the IFsrmAction interface.
Methods
The IFsrmActionEmail interface has these methods.
IFsrmActionEmail::get_MailBcc Retrieves or sets the blind carbon copy (Bcc) email address to which email is sent when this action generates email. (Get) |
IFsrmActionEmail::get_MailCc Retrieves or sets the carbon copy (Cc) email address to which email is sent when this action generates email. (Get) |
IFsrmActionEmail::get_MailFrom Retrieves or sets the email address to use as the sender of the email when the action generates an email message. (Get) |
IFsrmActionEmail::get_MailReplyTo Retrieves or sets the email address to use as the reply-to address when the recipient of the email message replies. (Get) |
IFsrmActionEmail::get_MailSubject Retrieves or sets the subject of the email that is sent when this action generates email. (Get) |
IFsrmActionEmail::get_MailTo Retrieves or sets the email address to which email is sent when this action generates email. (Get) |
IFsrmActionEmail::get_MessageText Retrieves or sets the message text of the email that is sent when this action generates email. (Get) |
IFsrmActionEmail::put_MailBcc Retrieves or sets the blind carbon copy (Bcc) email address to which email is sent when this action generates email. (Put) |
IFsrmActionEmail::put_MailCc Retrieves or sets the carbon copy (Cc) email address to which email is sent when this action generates email. (Put) |
IFsrmActionEmail::put_MailFrom Retrieves or sets the email address to use as the sender of the email when the action generates an email message. (Put) |
IFsrmActionEmail::put_MailReplyTo Retrieves or sets the email address to use as the reply-to address when the recipient of the email message replies. (Put) |
IFsrmActionEmail::put_MailSubject Retrieves or sets the subject of the email that is sent when this action generates email. (Put) |
IFsrmActionEmail::put_MailTo Retrieves or sets the email address to which email is sent when this action generates email. (Put) |
IFsrmActionEmail::put_MessageText Retrieves or sets the message text of the email that is sent when this action generates email. (Put) |
Remarks
You must set the MailTo and MessageText properties; the other properties are optional.
Requirements
Requirement | Value |
---|---|
Minimum supported client | None supported |
Minimum supported server | Windows Server 2008 |
Target Platform | Windows |
Header | fsrm.h (include FsrmPipeline.h, FsrmQuota.h, FsrmReports.h, FsrmScreen.h) |