IEmailServiceSendEmail(MailMessage) Method |
Uses the application's configured email settings to send an email.
Namespace: Dundas.BI.ServicesAssembly: Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (26.2.0.1000)
Syntaxvoid SendEmail(
MailMessage message
)
Sub SendEmail (
message As MailMessage
)
void SendEmail(
MailMessage^ message
)
abstract SendEmail :
message : MailMessage -> unit Parameters
- message MailMessage
- The message to send.
Exceptions| Exception | Condition |
|---|
| ArgumentNullException | message is , or tenantId is Empty. |
| 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. |
| OperationFailedException | An unexpected error occurred when sending the email message. |
RemarksThe
From property of the message is always set by the system.
See Also