unable to send message using RSendAs
| Tue, 2008-04-01 19:10 | |
|
I'm workin on an application (3rd edition) which sends the cell id along with some other information through an SMS. My code for retreiving the cell id is more or less based on the snippet posted on the nokia forum wiki : http://wiki.forum.nokia.com/index.php/Find_Out_Cell_ID_in_3rd_Edition the above code catches the cell id through an active object. Now to send the cell id via an sms, i'v written the SMS sending logic in the runL method : void CNetworkInfo::RunL()On execution I get a promp which says "unable to send message". On checking the outbox folder, i get the exact message i wanted to send as a failed message which i am able to successfully resend, but why not through my application?? I have added all capabilities. plz help |
|






Forum posts: 17
Hi, I had the same problem some times. Then I found out that it always appear with some messages from the server in which the telephones were 34XXXXXXXXXX+ telephone, where 34 is the spanish prefix. Then I had to insert the + or 00 symbol befol the national preffix: 0034XXXXXXXXXX or +34XXXXXXXXXX.
Forum posts: 20
While checking my outbox, the assigned target adddress is already in the form of +91XXXXXXXXXX (india's country code: 91) so i guess that is not the issue here
Forum posts: 17
And you can send a SMS to the +91XXXXXXXXXX number from the SMS app inside the mobile?
Forum posts: 20
from the outbox where it lies as a failed message, i am able to resend it... but not through my application. My application tries to send it but i have no clue why it's unable to, resulting in a failed message in my outbox
Forum posts: 17
I am able to send SMS without problems, the only diference in my code is:
sendAsMessage.CreateL(sendAs, KUidMsgTypeSMS);
instead
messg.CreateL(saSrv, KSenduiMtmSmsUid);
Forum posts: 20
Well i got it to work finally... some bug there i guess, if the recipient is someone from ur contacts, the message gets stuck. I removed the recipient from the contacts and voila... !!