-popdelete (-popd)
Previous Topic  Next Topic 

Category:

 

POP Email Reception

 

Description: 

 

Specifies a message to delete. Specify a message index number after this parameter to delete a single message. If you do not specifiy a message number, all messages will be deleted.

 

Messages are numbered in the POP account according to the order of their arrival starting with 1. This numbering is dynamic between email deletions. An example:

 

Suppose emails arrived in the POP account from the senders indicated, and in this order:

 

joe@somecompany.com (arrived 8:15 AM; message #1)

suzieq@bigcompany.com (arrived 9:00 AM; message #2)

bob@superco.com (arrived 11:15 AM; message #3)

 

Suppose you use NetMailBot to fetch the first message, forward it, then delete it. The new numbering is:

 

suzieq@bigcompany.com (arrived 9:00 AM; message #1)

bob@superco.com (arrived 11:15 AM; message #2)

 

Thus, from one connection to another, the index numbers refer to different messages. Keep this in mind to avoid confusion over what messages you intend to delete.

 

Can be used in conjunction with other POP3 commands. If used with other POP3 commands, deletion will only occur if there are no errors or problems with the other commands.

 

Optional?

 

Yes.

 

Overrides:

 

None.

 

Overridden By:

 

None.

 

Other Parameters Required:

 

-receive -popuser -poppassword -popserver

 

See Also:

 

None.

 

Usage:

 

-popdelete <message number>

 

Example (cut-and-paste right into your batch file):

 

NetMailBot -receive -popdelete 1 -popuser username -poppassword password -popserver pop.domain.com  

 

Comments:

 

None.