{CompanyName} FlexyGo

Reception..::..ListEmails Method

Sends the template mail.

Namespace:  FLEXYGO.Mails
Assembly:  flxMail (in flxMail.dll)

Syntax


public static List<MailHeader> ListEmails(
	EmailAccount EmailAccount,
	string Folder,
	bool Seen,
	string MailAddress,
	string Subject,
	string Body,
	Object MailDateMin,
	Object MailDateMax,
	int Page,
	int Pagesize
)
Public Shared Function ListEmails ( _
	EmailAccount As EmailAccount, _
	Folder As String, _
	Seen As Boolean, _
	MailAddress As String, _
	Subject As String, _
	Body As String, _
	MailDateMin As Object, _
	MailDateMax As Object, _
	Page As Integer, _
	Pagesize As Integer _
) As List(Of MailHeader)

Parameters

EmailAccount
Type: FLEXYGO.Security..::..EmailAccount
The email account to get mails list
Folder
Type: String
Get only mails in current folder.
Seen
Type: Boolean
Add seen mails to list.
MailAddress
Type: String
Mail Address to filter.
Subject
Type: String
Subject to filter
Body
Type: String
Body to filter.
MailDateMin
Type: Object
MailDateMax
Type: Object
Page
Type: Int32
Page number.
Pagesize
Type: Int32

Return Value

List with mails

Exceptions


ExceptionCondition
ExceptionCouldn't get mail items