Mailing from batch files and scripts
You can use batch files, scripts and the Windows task scheduler to automatically send a mailing. Here’s a sample of the command-line arguments which RocketSales supports.
Windows 7, Vista
- Go to Start > Control Panel > Administrative Tasks > Task Scheduler
- Click
Create Task in the sidebar
- On the General tab, under Security options, click Run whether user is logged in or not
- On the Actions tab, click New
- In the Program/script box, paste the path to the RocketSales EXE file: C:\Program Files\Anconia RocketSales\RocketSales.exe
- In the Add arguments box, type the following parameters:
- The path to the HTML file to use as your message, e.g.: C:\Users\(Your name)\Documents\Message.html
- /subject:"(Subject)"
- The following parameters: /sendall /noui

Windows XP
- Go to Start > Settings > Control Panel > Scheduled Tasks > Add Scheduled Task
- Go through the add task wizard. Choose Anconia RocketSales as the program you want to run and type the date and time you want the mailing to
begin.
- In the last wizard panel, check Open advanced properties for this task when I click Finish checkbox.
- In the advanced properties dialog, type the following parameters at the end of the Run box:
- The path to the HTML file to use as your message, e.g.: C:\Users\(Your name)\Documents\Message.html
- /subject:"(Subject)"
- The following parameters: /sendall /noui
The final parameters will look like this:
C:\Program Files\Anconia RocketSales\RocketSales.exe message.html /subject:"Fall promo" /sendall /noui

Optional parameters
- Any attachments which you want to send along with the message: /attach:"(Path to first attachment)" [/attach:"(Path to second attachment)"]
- The account which contains the sender name, email address, and other Internet account information you want to use for your mailing:
/account:"(Account name)"
- The table which contains the recipients you want to mail: /table:"(Table name)"
-
The custom SQL query which chooses the recipients you want to mail: /query:"(Saved query name)"
-
The database column which contains the email addresses of the recipients:
/emailfield:"(Field name)"