×

Discussion Board

Results 1 to 4 of 4
  1. #1
    Registered User
    Join Date
    Sep 2007
    Posts
    2

    Arrow messaging.sms_send doesn't send SMS (leaves it in Outbox)

    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?

  2. #2
    Nokia Developer Moderator
    Join Date
    May 2007
    Location
    21.46 N 72.11 E
    Posts
    3,801

    Thumbs up Check this out!

    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

  3. #3
    Registered User
    Join Date
    Sep 2007
    Posts
    2

    Re: Check this out!

    Yes, I'm passing the recipient and message as strings.

  4. #4
    Nokia Developer Moderator
    Join Date
    May 2007
    Location
    21.46 N 72.11 E
    Posts
    3,801

    Re: Check this out!

    Hello reinventedpei again

    So now execute this code and paste your output

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

    -Pankaj Nathani

Similar Threads

  1. Send SMS Problem. Cannot Get SMSC Address. Due to Strange SIM Card?
    By cksong in forum Mobile Java Networking & Messaging & Security
    Replies: 1
    Last Post: 2007-07-02, 16:13
  2. Send SMS from midlet without user notification
    By Robert111 in forum Mobile Java Networking & Messaging & Security
    Replies: 4
    Last Post: 2007-06-27, 14:26
  3. can i send SMS automatically?
    By vhepeter2005 in forum General Messaging
    Replies: 3
    Last Post: 2007-04-28, 09:23
  4. nokia 7210 modem via IR doesn't work !
    By oussamaaiadi in forum PC Suite API and PC Connectivity SDK
    Replies: 1
    Last Post: 2003-03-06, 10:46
  5. Replies: 1
    Last Post: 2002-07-23, 14:39

Posting Permissions

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