gtpo1m8mOperations

ZMAIL DELETEMAILBOX-Delete a Mailbox

Use this command to delete a mailbox from a TPF Internet mail server database.

Requirements and Restrictions

Format




Note:
You can use ZMAIL DM as a short form of the ZMAIL DELETEMAILBOX command.

mailbox
is the name of the mailbox that you want to delete. If you specify an account name for the mailbox, the account and all the mailboxes associated with that account are deleted.

You can specify as many as 30 characters for an account name. The total length of a mailbox string (including all submailboxes) can be as many as 256 characters. The name of an account or mailbox can consist of any alphanumeric character, underscore (_), hyphen (-), comma (,), semicolon (;), left parenthesis ( ( ), or right parenthesis ( ) ).

Additional Information

Examples

In the following example, a submailbox named kate.inbox.work.project1 is deleted.

+--------------------------------------------------------------------------------+
|User:   zmail lm kate                                                           |
|                                                                                |
|System: MAIL0001I 15:01:35 START OF RESPONSE FROM ZMAIL lm                      |
|        kate.inbox                                                              |
|        kate.inbox.work                                                         |
|        kate.inbox.work.project1                                                |
|        kate.inbox.work.project1.final                                          |
|        kate.inbox.play                                                         |
|        END OF DISPLAY                                                          |
|                                                                                |
|User:   zmail dm kate.inbox.work.project1                                       |
|                                                                                |
|System: MAIL0003I 15:00:31 dm COMPLETED SUCCESSFULLY. NO OUTPUT TO DISPLAY      |
|                                                                                |
|User:   zmail lm kate                                                           |
|                                                                                |
|System: MAIL0001I 15:01:35 START OF RESPONSE FROM ZMAIL lm                      |
|        kate.inbox                                                              |
|        kate.inbox.work                                                         |
|        kate.inbox.work.project1.final                                          |
|        kate.inbox.play                                                         |
|        END OF DISPLAY                                                          |
+--------------------------------------------------------------------------------+

Related Information