Send an email to one address.

Namespace: Cartella.Interfaces
Assembly: CartellaBase (in CartellaBase.dll) Version: 4.1.0.171 (4.1.0.171)

Syntax

C#
void SendEmail(
	MailAddress fromAddress,
	MailAddress toAddress,
	string subject,
	string body,
	bool isBodyHtml
)
Visual Basic
Sub SendEmail ( _
	fromAddress As MailAddress, _
	toAddress As MailAddress, _
	subject As String, _
	body As String, _
	isBodyHtml As Boolean _
)
Visual C++
void SendEmail(
	MailAddress^ fromAddress, 
	MailAddress^ toAddress, 
	String^ subject, 
	String^ body, 
	bool isBodyHtml
)

Parameters

fromAddress
Type: System.Net.Mail..::..MailAddress
Address of the originator
toAddress
Type: System.Net.Mail..::..MailAddress
Destination address
subject
Type: System..::..String
Subject line for the email
body
Type: System..::..String
Body of the email
isBodyHtml
Type: System..::..Boolean
True to indicate the message is in HTML

See Also