1. To open a message launch FM with the command line parameter:
-open {<storage GUID>}.<message DB ID>
Where <storage GUID> is FM's internal Storage GUID (can be found in the storage volume) and <message DB ID> is a database ID of the
message in Messages table.
For example:
-open {00000000-0000-0000-0000-000000000000}.1078001664
Please note that message id is in decimal format (not hexadecimal!).
For MAPI messages you should use the following format of -open command:
-open "0x<message ENTRYID>"
For example:
-open "0x000000001d000031010000000000000000000000"
In this case parameter is in hexadecimal format.
2. To reply/reply all/forward a message use command line arguments
-reply {<storage GUID>}.<message DB ID>
-replyall {<storage GUID>}.<message DB ID>
-forward {<storage GUID>}.<message DB ID>
The message identification is the same as for the -open command. You can also use these commands form MAPI messages using the same syntax as for -open command
3. To synchronize a service (account) use the following command:
-synchronize "<Service Name>"
Where <Service Name> is the name of the service. If there are no spaces in the service name quotation marks are not mandatory.
For example:
-synchronize "My private account"
Please note that you can specify only one account. Also, if FM was not running when you call it then startup synchronization will be disabled when -synchronize parameter is used -- only the specified service will be synchronized.
4. Command line parameter to open folder
Please use command line parameter -folder_open "{<Storage
GUID>}.<folder_db_id>", where <Storage GUID> is GUID of the storage where
the folder is located and <folder_db_id> is a folder database ID in decimal
format.
Sample:
Flexmail.exe -folder_open
"{72553D80-3A1D-01C2-22C3-141FD914AA99}.3847538"
For MAPI folders you should use the following format of -folder_open command:
-folder_open "0x<folder ENTRYID>"
For example:
-folder_open "0x000000002d000031010000000000000000000000"
In this case parameter is in hexadecimal format.
5. To create and send a new message please use "-send" command line parameter in combination with other commands to define the message itself. Here is the list of such commands:
-mailto: - can be any standard mailto-formatted address;
-to "email@address.com" - sets "To" address;
-from "email@address.com" - sets "From" address;
-cc "email@address.com" - sets "CC" address;
-bcc "email@address.com" - sets "BCC" address;
-subject "Some Subject" - sets message's subject;
-body "Message body" - sets message's body;
-attach "filename" - adds attachment to the message, can be used several times in one command line;
-service "account name" - account to use for sending a message (otherwise a default account is selected, if no default account is configured FlexMail just takes the first available account).
6. To create a new message and open it for editing please use the same command line parameters as for sending a message, but use "-new" instead of "-send".
7. New in FlexMail 4. If you want to send a meeting request please use "-send" command line parameter (as described at #5) together with a new "-vcal" parameter.
For example:
-send -to "email@address.com" -subject "Meeting Request" -vcal "<filename>"
Where instead of <filename> you give a location to the file where vCalendar-formatted meeting request is saved.
8. New in FlexMail 4.1. To open FlexMail with SMS Inbox opened you can use a new command line parameter "-sms". No additional parameters are required:
flexmail.exe -sms