/SEND and /SENDALL

Top  Previous  Next

/SEND can be used as a command line parameter for The Bat! whenever you want to send all queued mail from one or more accounts.

 

/SENDALL command is used for sending queued mail from all accounts and exiting from The Bat! if there were no new messages received. It is a shortcut for the combination of /SEND* /SMARTEXIT

 

 

Syntax

 

/SEND<account mask1>[;account mask2[;account mask3[...]]]

 

The account mask is used to identify the account(s) to perform the send operation for. It can be:

 

† the full name of a single account. Example: /SEND"My account 1";"My account 2". This instructs The Bat! to send queued mail from two accounts with names "My account 1" and "My account 2" (note that quotation marks are not included into accounts' names - they are used only because the names contain space characters)
† the beginning of a name ending with an asterisk. Example: to send queued mail from all accounts with names starting with the word "My", use /SENDmy*
† asterisk followed by the end of an account name. Example: /SEND*1 will send queued mail from all accounts with names ending with "1".
† a name fragment surrounded by asterisks. Example: /SEND*account* to send mail from all accounts with the word "account" in their name.
† an asterisk, which means that queued mail will be sent from all accounts

 

 

Note: To separate account masks, use semicolons (";" characters). Do not use spaces between account masks when using the /SEND command as a command line parameter because a space-separated mask will be interpreted as the start of the next command line parameter and will not be processed as intended.        

Note: If a mask contains space characters, enclose it in quotation marks as shown in the first example. If a mask contains quotation marks, you should use single quotes ("' " characters).