Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Update: Forum Guidelines & Code of Conduct


    Qt World Summit: Early-Bird Tickets

    Unsolved How to send text message from desktop application.

    General and Desktop
    5
    7
    2730
    Loading More Posts
    • 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.
    • A
      anmol2701 last edited by

      Anybody can guide in sending text message from Desktop application.

      1 Reply Last reply Reply Quote 0
      • VRonin
        VRonin last edited by

        There is Twiio but since they do not support C++ (or even C) you'll have to use the JavaScript API wrapped in your app

        "La mort n'est rien, mais vivre vaincu et sans gloire, c'est mourir tous les jours"
        ~Napoleon Bonaparte

        On a crusade to banish setIndexWidget() from the holy land of Qt

        Paul Colby 1 Reply Last reply Reply Quote 1
        • mrjj
          mrjj Lifetime Qt Champion last edited by

          Looks pretty cool but it seems it has start cost of
          "one-time setup fee of $650 " ?
          or did read that wrong ?

          https://www.twilio.com/sms/pricing

          1 Reply Last reply Reply Quote 0
          • VRonin
            VRonin last edited by

            None of these services are free (for obvious reasons) sinch doesn't look to have a one-off fee

            "La mort n'est rien, mais vivre vaincu et sans gloire, c'est mourir tous les jours"
            ~Napoleon Bonaparte

            On a crusade to banish setIndexWidget() from the holy land of Qt

            mrjj 1 Reply Last reply Reply Quote 1
            • mrjj
              mrjj Lifetime Qt Champion @VRonin last edited by

              @VRonin
              well would also just be bad
              business model if all was free :) ( for them)

              It does seems they are good to start with

              "The Sinch SMS API is enabled to send SMS at prices starting from just $0.005. Pay as you go. No additional monthly fees. No commitments."

              thx :)

              1 Reply Last reply Reply Quote 0
              • jazzycamel
                jazzycamel last edited by jazzycamel

                Twilio is $650 if you want to use a short code in the US. Otherwise, you just pay $1 per month per number and then the per message charge.

                Also, you can use the REST API and just do simple POST/GET requests (using QNetworkAccessManager for example). I've done this successfully with python and the requests module.

                For the avoidance of doubt:

                1. All my code samples (C++ or Python) are tested before posting
                2. As of 23/03/20, my Python code is formatted to PEP-8 standards using black from the PSF (https://github.com/psf/black)
                1 Reply Last reply Reply Quote 3
                • Paul Colby
                  Paul Colby @VRonin last edited by

                  @VRonin said:

                  There is Twiio but since they do not support C++ (or even C)

                  There is a third-party (read: unsupported) C++ library for Twilio - https://github.com/laurentluce/twilio-cplusplus

                  There's probably others too, but I used that one successfully a couple of years ago (with gcc C++ on CentOS).

                  Cheers.

                  1 Reply Last reply Reply Quote 2
                  • First post
                    Last post