Difference between revisions of "CLOSEMAIL()"
From Recital Documentation Wiki
Helengeorge (Talk | contribs) (→Class) |
Yvonnemilne (Talk | contribs) |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | |||
− | |||
==Purpose== | ==Purpose== | ||
Function to disconnect from mail server | Function to disconnect from mail server | ||
Line 10: | Line 8: | ||
==See Also== | ==See Also== | ||
− | [[COUNTMAIL()]], [[DELETEMAIL()]], [[MAILCLOSE()]], [[MAILCOUNT()]], [[MAILDELETE()]], [[MAILERROR()]], [[MAILHEADER()]], [[MAILNODENAME()]], [[MAILOPEN()]], [[MAILREAD()]], [[MAILSEND()]], [[MAILUSERNAME()]], [[OPENMAIL()]], [[READMAIL()]], [[SENDMAIL()]] | + | [[COUNTMAIL()]], [[DELETEMAIL()]], [[MAILATTACH()]], [[MAILCLOSE()]], [[MAILCOUNT()]], [[MAILDELETE()]], [[MAILERROR()]], [[MAILHEADER()]], [[MAILNODENAME()]], [[MAILOPEN()]], [[MAILREAD()]], [[MAILSAVEAS()]], [[MAILSEND()]], [[MAILUSERNAME()]], [[OPENMAIL()]], [[READMAIL()]], [[SENDMAIL()]] |
Line 16: | Line 14: | ||
The CLOSEMAIL() function will disconnect you from the mail server. 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. | The CLOSEMAIL() function will disconnect you from the mail server. 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. | ||
− | + | The MAILERROR() function can be used to return the error message if the CLOSEMAIL() fails. | |
Line 26: | Line 24: | ||
==Products== | ==Products== | ||
− | Recital | + | Recital Server, Recital |
[[Category:Documentation]] | [[Category:Documentation]] | ||
[[Category:Functions]] | [[Category:Functions]] | ||
[[Category:Mail]] | [[Category:Mail]] | ||
[[Category:Mail Functions]] | [[Category:Mail Functions]] |
Latest revision as of 14:25, 6 July 2011
Purpose
Function to disconnect from mail server
Syntax
CLOSEMAIL()
See Also
COUNTMAIL(), DELETEMAIL(), MAILATTACH(), MAILCLOSE(), MAILCOUNT(), MAILDELETE(), MAILERROR(), MAILHEADER(), MAILNODENAME(), MAILOPEN(), MAILREAD(), MAILSAVEAS(), MAILSEND(), MAILUSERNAME(), OPENMAIL(), READMAIL(), SENDMAIL()
Description
The CLOSEMAIL() function will disconnect you from the mail server. 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.
The MAILERROR() function can be used to return the error message if the CLOSEMAIL() fails.
Example
closemail()
Products
Recital Server, Recital