User::LeaveIfError(sendAs.Connect());
CleanupClosePushL(sendAs);
RSendAsMessage sendAsMessage;
sendAsMessage.CreateL(sendAs, KUidMsgTypeSMS);
CleanupClosePushL(sendAsMessage);
// prepare the message
sendAsMessage.AddRecipientL(aRecipient, RSendAsMessage::ESendAsRecipientTo);
sendAsMessage.SetBodyTextL(aMessageBody);
// send the message
sendAsMessage.SendMessageAndCloseL();
// sendAsMessage (already closed)
CleanupStack::Pop();
// sendAs
CleanupStack::PopAndDestroy();
Monday, July 30, 2007
How to Sending SMS in Symbian 9
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment