Re: Write SMS in Inbox



Hi Peter,
Finally it's working!! I had specified "IPM.SMStext.Msg"
instead of "IPM.SMStext" :-) Thanks a lot for your help!!


"Vikky" wrote:

Hi Peter,
Thanks a ton! Atlast I made some progress! Now I am able to
display the phone number in "From". But, the message still appears in mail
format, this despite the fact that I have specified the message class as
"IPM.SMStext". I even tried using the sample code in the WinMo 6
documentation for SMS_SetMsgProps (). That also writes the message in mail
format. How do I know that it's in mail format? well, the "subject" that I
write for a message by specifying "PR_SUBJECT" appears in the subject field
and not in the body of the message.
Am I missing something here?


"Peter Foot" wrote:

An SMS must have the message class set to IPM.SMStext and the body is stored
within the PR_SUBJECT property. The sender number is stored in the
PR_SENDER_EMAIL_ADDRESS property.

Peter

--
Peter Foot
Microsoft Device Application Development MVP
www.peterfoot.net | www.inthehand.com
In The Hand Ltd - .NET Solutions for Mobility

"Vikky" <Vikky@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:F3F9EA7B-CDE1-4B9F-B12A-419BA92828BA@xxxxxxxxxxxxxxxx
Hi Peter,
Thanks for the reply! But, what I am trying to do is write the
Sender Phone Number in the From field, just as it would appear in case of
a
normal SMS in the Inbox. One more issue I noticed was that the body I
wrote
appears to be in mail format and not SMS format. So, now I am back to
square
one!!

"Peter Foot" wrote:

SMS messages are stored within the CEMAPI message store. Recipients are
stored in the recipients table (IMessage::ModifyRecipients to write
them).

Peter

--
Peter Foot
Microsoft Device Application Development MVP
www.peterfoot.net | www.inthehand.com
In The Hand Ltd - .NET Solutions for Mobility

"Vikky" <Vikky@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:AE0957D1-E855-4A8A-9CB4-42832148ABC9@xxxxxxxxxxxxxxxx
Hi, I want to know how to write an SMS in the Inbox. What I am trying
to
do
is implement a backup and restore (SMS) feature on Pocket PC. "Restore"
means
I have to read the SMSes from a persistent store and write it back into
the
Inbox. I have the necessary information, like Sender Mobile Number and
the
message body. I am even able to write the message body in the Inbox.
But,
I
can't find a way to write the Sender number for this message, so the
message
appears in the Inbox without the Sender Number now.
Any idea how to go about it?


.



Relevant Pages

  • Re: Write SMS in Inbox
    ... format, this despite the fact that I have specified the message class as ... "Peter Foot" wrote: ... The sender number is stored in the ... normal SMS in the Inbox. ...
    (microsoft.public.pocketpc.developer)
  • Re: Debug.exe for win32
    ... Format is: n) e address t=n ... Display the debug registers. ... R DRx command. ... The help output can be limited by specifying the first letterof the ...
    (alt.lang.asm)
  • Re: Corrupt office, pdf, and other general use files
    ... from one format to another. ... Corrupt office, pdf, and other general use files ... are not the intended recipient or that the sender is not authorised to ... businesses and to ensure compliance with internal policies. ...
    (Security-Basics)
  • Re: Completely Blank E-mail Messages (should be messages with atta
    ... messages from the same sender are okay, ... RECEIVED message, The Edit Message, and Format to HTML. ... Are both senders and recipients using Outlook Express? ...
    (microsoft.public.windows.inetexplorer.ie6_outlookexpress)
  • Re: Jargons of Info Tech industry
    ... through without the impediments the sender included. ... Of course one can render anything in one's computer exactly the way one ... Mutual agreement on a CSS is possible, ... or any other silly format. ...
    (comp.unix.programmer)