Microsoft Internet Security and Acceleration Server 2004 SDK

SmtpServer Property of IFPCReportJob[C++]

FPCReportJob.SmtpServer [Visual Basic]

[C++]

The SmtpServer property gets the name of the SMTP server that will be used to send an e-mail message when the report job is completed.

HRESULT get_SmtpServer(
  BSTR* pbstrSmtpServer
);

Parameters

pbstrSmtpServer
Pointer to a BSTR that is set on return to a string value specifying the name of the SMTP server that will be used to send an e-mail message when the report job is completed.

Return Values

This property method returns S_OK if the call is successful; otherwise, it returns an error code.

Remarks

This property is read-only. It can be set using the SetEmailing method.

[Visual Basic]

The SmtpServer property gets the name of the SMTP server that will be used to send an e-mail message when the report job is completed.

Property SmtpServer As String

Property Value

String that specifies the name of the SMTP server that will be used to send an e-mail message when the report job is completed.

Remarks

This property is read-only. It can be set using the SetEmailing method.

Requirements

Server: Requires Windows Server 2003 or Windows 2000.
Version: Requires Internet Security and Acceleration Server 2004.
Header: Declared in Msfpccom.idl.
Library: Use Microsoft Internet Security and Acceleration Server 2004 Administration Library.

See Also

FPCReportJob