IFsrmActionEmail Interface
Used to send an email message in response to a quota or file screen event.
Namespace: Microsoft.Storage
Assembly: srmlib (in srmlib.dll)
Syntax
[GuidAttribute("D646567D-26AE-4CAA-9F84-4E0AAD207FCA")]
public interface IFsrmActionEmail : IFsrmAction
[GuidAttribute("D646567D-26AE-4CAA-9F84-4E0AAD207FCA")]
public interface class IFsrmActionEmail : IFsrmAction
[<GuidAttribute("D646567D-26AE-4CAA-9F84-4E0AAD207FCA")>]
type IFsrmActionEmail =
interface
interface IFsrmAction
end
<GuidAttribute("D646567D-26AE-4CAA-9F84-4E0AAD207FCA")>
Public Interface IFsrmActionEmail
Inherits IFsrmAction
Properties
Name | Description | |
---|---|---|
ActionType | Gets the ActionType property. |
|
id | Gets the id property. |
|
MailBcc | Retrieves or sets the blind carbon copy (Bcc) email address to which email is sent when this action generates email. This property is read/write. |
|
MailCc | Retrieves or sets the carbon copy (Cc) email address to which email is sent when this action generates email. This property is read/write. |
|
MailFrom | Retrieves or sets the email address to use as the sender of the email when the action generates an email message. This property is read/write. |
|
MailReplyTo | Retrieves or sets the email address to use as the reply-to address when the recipient of the email message replies. This property is read/write. |
|
MailSubject | Retrieves or sets the subject of the email that is sent when this action generates email. This property is read/write |
|
MailTo | Retrieves or sets the email address to which email is sent when this action generates email. This property is read/write. |
|
MessageText | Retrieves or sets the message text of the email that is sent when this action generates email. This property is read/write. |
|
RunLimitInterval | Gets and sets the RunLimitInterval property. |
Methods
Name | Description | |
---|---|---|
Delete() | Removes the email message from the list of actions for the quota or file screen job event. |
Remarks
To create an email action, call one of the following methods and specify FsrmActionType_Email as the action type:
CreateThresholdActionCreateActionThreshold
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.
See Also
IFsrmAction
IFsrmActionCommand
IFsrmActionEventLog
IFsrmActionReport
Microsoft.Storage Namespace
Return to top