You Are Here:

Community: Developer Discussion Boards

#1 Old Arrow messaging.sms_send doesn't send SMS (leaves it in Outbox) - 2007-09-11, 17:03

Join Date: Sep 2007
Posts: 2
reinventedpei
Offline
Registered User
The following Python code should, in theory, let me send an SMS from my Nokia N70:

Code:
import messaging
messaging.sms_send(recipient,message)
However when I run the code (using Python for S60 v1.4.0 final), the message ends up in my N70's "Outbox" and the Python application hangs.

Until I manually use the phone to navigate to the Outbox, select the queued message, and select Options | Send to actually send it (at which point the Python application finishes).

This behaviour doesn't seem to be unique to my code -- any PyS60 application I've tried that has SMS-sending capabilities does the same thing.

Is there something I need to modify, either in my code or in my phone's settings?
Reply With Quote

#2 Old Thumbs up Check this out! - 2007-09-11, 18:00

Join Date: May 2007
Posts: 2,738
Location: 21.46 N 72.11 E
croozeus's Avatar
croozeus
Offline
Forum Nokia Champion
Hello reinventedpei

In ur Following Code...

Code:
import messaging
messaging.sms_send(recipient,message)


The recepient and message must be a strings.Is it so in ur case?

Moreover Such code works fine on my Nokia 6680 and 7610 so may be u got some problems with the variables so do check them out and let know whats the result...

Best of Luck Dude


-Pankaj Nathani
Reply With Quote

#3 Old Re: Check this out! - 2007-09-11, 18:02

Join Date: Sep 2007
Posts: 2
reinventedpei
Offline
Registered User
Yes, I'm passing the recipient and message as strings.
Reply With Quote

#4 Old Re: Check this out! - 2007-09-11, 18:56

Join Date: May 2007
Posts: 2,738
Location: 21.46 N 72.11 E
croozeus's Avatar
croozeus
Offline
Forum Nokia Champion
Hello reinventedpei again

So now execute this code and paste your output

Quote:
import messaging
messaging.sms_send("123","Hello")
Waiting for the output..

-Pankaj Nathani
Reply With Quote
Reply « Previous Thread | Next Thread »
Display Modes
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules

You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump
Similar Threads
Thread Thread Starter Forum Replies Last Post
Send SMS Problem. Cannot Get SMSC Address. Due to Strange SIM Card? cksong Mobile Java Networking & Messaging & Security 1 2007-07-02 17:13
Send SMS from midlet without user notification Robert111 Mobile Java Networking & Messaging & Security 4 2007-06-27 15:26
can i send SMS automatically? vhepeter2005 General Messaging 3 2007-04-28 10:23
nokia 7210 modem via IR doesn't work ! oussamaaiadi PC Suite API and PC Connectivity SDK 1 2003-03-06 11:46
D211Ctl perform illegal operation when trying to send sms by Req_Sms_Send bcchong Multimodecards 1 2002-07-23 15:39

Rate This

 
Bookmark this page: DeliciousDiggFacebookGoogleYahooStumbleUponRedditDiigoTechnocratiTwitter  Share this page Share this page Print this Page Print this page Invite a friend Invite a friend
京ICP备05048969号    Email Newsletters Press Terms & Conditions Privacy Policy Sitemap Contact Us © 2009 Nokia