Hi
I am creating a new sms and instead of sending it i am moving it to inbox folder using InTheHand API,
And it moves my sms to inbox but with 0KB that means it does not store its bodu shoes blank sms.
What could be the problem?
below is my code
using HAND_PO = InTheHand.WindowsMobile.PocketOutlook;
this.HandoutlookSession = new HAND_PO.OutlookSession();
HAND_PO.SmsAccount account = this.HandoutlookSession.SmsAccount;
// HAND_PO.SmsMessageFolder sms_folder = account.SentItems;
// SmsMessage sms = new SmsMessage();
// sms.Body = "rtrtrtrtrtr";
if (account == null)
{
SYS_FORM.MessageBox.Show("no account created");
}
HAND_PO.SmsMessage sms1 = new InTheHand.WindowsMobile.PocketOutlook.SmsMessage("9004679361",@"ssadasdasda");
HAND_PO.Recipient recpnt = new InTheHand.WindowsMobile.PocketOutlook.Recipient("8479570");
if (sms1 != null)
{
//sms1.Body = "sample message";
//sms1.
// sms1.From = recpnt;
//sms1.Send();
sms1.Update();
sms1.MoveTo(account.Drafts);
MessageBox.Show(sms1.Body);
// sms1.Update();
}
Please some one help me in this or is there any other way to create sms and save it to sms folder?
Regds
Deep