Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. Sending SMS or Email in QML
Qt 6.11 is out! See what's new in the release blog

Sending SMS or Email in QML

Scheduled Pinned Locked Moved QML and Qt Quick
4 Posts 3 Posters 7.0k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • ? Offline
    ? Offline
    A Former User
    wrote on last edited by
    #1

    I am trying to figure out how to send an SMS and Email with QML for Nokia N9

    I found the following call:
    Qt.openUrlExternally("sms:12345")

    but I would like to add the message instead of the number:
    Qt.openUrlExternally("sms:12345?body=ciao")

    any ideas?
    Also for email, cannot find if a call such as below exists
    Qt.openUrlExternally("email:")

    1 Reply Last reply
    0
    • B Offline
      B Offline
      biskero
      wrote on last edited by
      #2

      Ciao,

      I am trying to figure out the same issue with SMS.
      Anything after the sms: goes into the phone # field.

      About the email. here is the code
      Qt.openUrlExternally("mailto:?subject=Ciao&body=it works")

      Can someone help for the SMS? Is there any imports/include that needs to be added?

      Thanks
      Alessandro

      1 Reply Last reply
      0
      • ? Offline
        ? Offline
        A Former User
        wrote on last edited by
        #3

        @biskero: Very thanks.
        I want share facebook and twitter, Could you help me ?

        Thanks,
        Nesaver

        1 Reply Last reply
        0
        • EddyE Offline
          EddyE Offline
          Eddy
          wrote on last edited by
          #4

          For twitter, "this example":http://developer.qt.nokia.com/doc/qt-4.7/demos-declarative-twitter.html might help you.

          Qt Certified Specialist
          www.edalsolutions.be

          1 Reply Last reply
          0

          • Login

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved