An Example with Blat Email Client

Top  Previous  Next

In this example, we'll connect the Blat email client and demonstrate its operation in manual and automatic modes. The connection with the email client is useful when you need to email photos after processing.

Blat is a command-line utility, so the batch file is needed for working with it.

Create a batch file with bat extension and place it to the same folder where blat.exe is located. An example of the file contents is shown in the picture below.

More details on the syntax of the batch file in Blat can be found in the developer website or the utility accompanying documents. It should be noted here just that the number of files being sent is indicated at the end of the file with the following parameters: %1,%2,%3,%4. Further in the example, we'll attach various number of files to the email, so this parameter will change. For sending one attached file, the parameter will look like this: %1, to increase the number of the attached files you only have to add them with % sign separated by commas. Thus, for sending 4 files, the entry will look like this: %1,%2,%3,%4.

clip0573

After creating the bat file, you can move on to connecting the application.

 

The contents of the chapter are as follows:

Connection

Manual Mode

Automatic Mode

Editing and Deleting