IEmailServiceSendEmail Method (MailMessage)

Uses the application's configured email settings to send an email.

Namespace:  Dundas.BI.Services
Assembly:  Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (24.3.0.1000)
Syntax
void SendEmail(
	MailMessage message
)

Parameters

message
Type: System.Net.MailMailMessage
The message to send.
Exceptions
ExceptionCondition
ArgumentNullExceptionmessage is .
NotSupportedException

The email delivery type in the application configuration is set to None (error code 2500).

-or-

The sender address is not set in the application configuration (error code 2501).

-or-

The email delivery type in application configuration is DropFolder and the pick up directory is invalid.

OperationFailedExceptionAn unexpected error occurred when sending the email message.
Remarks
The From property of the message is always set by the system.
See Also