Sends an e-mail message.

Namespace: MonoSoftware.Core.Mail
Assembly: MonoSoftware.Core (in MonoSoftware.Core.dll) Version: 1.0.40.669 (1.0.40.669)

Syntax

C#
public virtual void SendMail(
	MailAddress fromAddress,
	string toAddress,
	string title,
	string htmlContent,
	string plainContent
)
Visual Basic
Public Overridable Sub SendMail ( 
	fromAddress As MailAddress,
	toAddress As String,
	title As String,
	htmlContent As String,
	plainContent As String
)
Visual C++
public:
virtual void SendMail(
	MailAddress^ fromAddress, 
	String^ toAddress, 
	String^ title, 
	String^ htmlContent, 
	String^ plainContent
)
F#
abstract SendMail : 
        fromAddress : MailAddress * 
        toAddress : string * 
        title : string * 
        htmlContent : string * 
        plainContent : string -> unit 
override SendMail : 
        fromAddress : MailAddress * 
        toAddress : string * 
        title : string * 
        htmlContent : string * 
        plainContent : string -> unit 

Parameters

fromAddress
Type: System.Net.Mail..::..MailAddress
From e-mail address.
toAddress
Type: System..::..String
To e-mail address.
title
Type: System..::..String
Message title.
htmlContent
Type: System..::..String
Message html content.
plainContent
Type: System..::..String
Message plain content.

Implements

IMailSender..::..SendMail(MailAddress, String, String, String, String)

See Also