Click or drag to resize

DomainSystemHostExtensionsSendMail Method

Sends a mail message using a host specific SMTP server.

Namespace:  Aloe.SystemFrameworks.Domain.Core
Assembly:  Aloe.SystemFrameworks.Domain (in Aloe.SystemFrameworks.Domain.dll) Version: 20.1.3.5
Syntax
public static void SendMail(
	this IDomainSystemHost host,
	string to,
	string subject,
	string body
)

Parameters

host
Type: Aloe.SystemFrameworks.Domain.CoreIDomainSystemHost
The host.
to
Type: SystemString
A String that contains the addresses of the recipients of the email message. Multiple email addresses must be separated with a comma character (",").
subject
Type: SystemString
The subject.
body
Type: SystemString
The body.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IDomainSystemHost. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also