Skip to main content
Version: v4 (Stable)

ReceiveMail

ReceiveMail( n As Integer [, From As String, To As String, Subject As String, Body As String[, bIgnoreAttachedFiles As Boolean[, nMaxAttachedFileSize As Integer]]]) As Boolean

Retrieve the mail number <n> from the POP3 server. The mail remains on the server; if you want to delete it, you must call the function DeleteMail. The optional parameters <bIgnoreAttachedFiles> and <nMaxAttachedFileSize> (in MB) can limit the attached files reception. To retrieve the enclosed files, use the function GetFile.

If there is no mail number n, the function returns false.