MAILDELETE()

From Recital Documentation Wiki
Jump to: navigation, search

Purpose

Function to delete the specified mail message


Syntax

MAILDELETE(<expN>)


See Also

CLOSEMAIL(), COUNTMAIL(), DELETEMAIL(), MAILATTACH(), MAILCLOSE(), MAILCOUNT(), MAILERROR(), MAILHEADER(), MAILNODENAME(), MAILOPEN(), MAILREAD(), MAILSAVEAS(), MAILSEND(), MAILUSERNAME(), OPENMAIL(), READMAIL(), SENDMAIL()


Description

The MAILDELETE() function will delete the mail message specified by number. If you are not connected to a mail server, it will return an error. You can use the MAILUSERNAME() (POP3 only) or MAILNODENAME() function to check if you are connected.


Parameters Required Default Description
<expN> Yes None Numeric value to specify the mail message number to be deleted.


Example

maildelete(1)


Products

Recital Server, Recital