Microsoft Internet Security and Acceleration Server 2000

FPCAlertActions.SetSendMail Method

Creates a new send-mail action in the collection, or updates the send-mail action if it already exists.

VBScript Syntax[VBScript]

[ oFPCAlertAction = ] FPCAlertActions.SetSendMail( sActionName, sServer, sToField, sCcField, sFromField )

C++ Syntax[C++]

HRESULT SetSendMail(
  BSTR sActionName,
  BSTR sServer,
  BSTR sToField,
  BSTR sCcField,
  BSTR sFromField,
  IFPCAlertAction **ppoFPCAlertAction
);

Parameters

sActionName
Required. String that specifies the name of the action. Can be used to retrieve the action.
sServer
Required. String that specifies a name or IP address of an SMTP server.
sToField
Required. String that specifies a space-delimited list of mail recipients that appear on the To list.
sCcField
Required. String that specifies a space-delimited list of mail recipients that appear on the CC list.
sFromField
Required. String that specifies a valid e-mail address of the sender.

Return Values

oFPCAlertAction
Gets a reference to the FPCAlertAction object for the new or updated send-mail action.

Applies To

FPCAlertActions