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
System_CAPS_pubproperty ActionType

Gets the ActionType property.

System_CAPS_pubproperty id

Gets the id property.

System_CAPS_pubproperty 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.

System_CAPS_pubproperty 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.

System_CAPS_pubproperty 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.

System_CAPS_pubproperty 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.

System_CAPS_pubproperty MailSubject

Retrieves or sets the subject of the email that is sent when this action generates email.

This property is read/write

System_CAPS_pubproperty MailTo

Retrieves or sets the email address to which email is sent when this action generates email.

This property is read/write.

System_CAPS_pubproperty MessageText

Retrieves or sets the message text of the email that is sent when this action generates email.

This property is read/write.

System_CAPS_pubproperty RunLimitInterval

Gets and sets the RunLimitInterval property.

Methods

Name Description
System_CAPS_pubmethod 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:

  1. CreateAction

  2. 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