Sunday, August 12, 2007

Windows Mobile - How to call inbox's compose form.

Well,i recently ran into this problem.How can i show inbox's compose form with some fields filled?
It seems to be fairly easy enough in .net cf but i am not interested at all in .net so i wanted to do this from c/c++.

Here is the answer :
You have 2 choices,if you want to target windows mobile or Windows CE 5 or 5.01 or higher you can use MailComposeMessage.
For older devices like 2003 edition,you have to try launching tmail.exe program with some arguments.

tmail.exe -service "SMS" -TO "myfriend" -SUBJECT "Hi" -BODY "Just to say hi"

No comments: