IEmailServiceSendTestEmail Method

Uses the application's configured email settings to send a test email.

Namespace:  Dundas.BI.Services
Assembly:  Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (24.4.0.1000)
Syntax
void SendTestEmail(
	MailAddress toAddress
)

Parameters

toAddress
Type: System.Net.MailMailAddress
The email address to which the test email will be sent, or if it should be sent to the email address associated with the caller.
Exceptions
ExceptionCondition
NotSupportedExceptionEnsureEmailServiceEnabled did not succeed.
InvalidOperationException

If toAddress is , and the email address of the caller is invalid.

OperationFailedExceptionAn unexpected error occurred when sending the email message.
NoPrivilegeExceptiontoAddress has been provided, but the caller does not have system administration privileges.
InvalidSessionExceptionThe caller context is not associated with a valid session.
See Also