Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. how to use the default app to send emails but without having to open it
Forum Updated to NodeBB v4.3 + New Features

how to use the default app to send emails but without having to open it

Scheduled Pinned Locked Moved Unsolved General and Desktop
9 Posts 2 Posters 535 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.
  • S Offline
    S Offline
    Sandro Bordinhon
    wrote on last edited by
    #1

    I need to send email from my qt app, I'm trying to use QdesktopServices for this, but I wanted to send the email without having to open the default email app. it is possible?

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by SGaist
      #2

      Hi and welcome to devnet,

      AFAIK, no it's not. What is your use case ?

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      S 1 Reply Last reply
      0
      • SGaistS SGaist

        Hi and welcome to devnet,

        AFAIK, no it's not. What is your use case ?

        S Offline
        S Offline
        Sandro Bordinhon
        wrote on last edited by
        #3

        @SGaist I need my app to send an email to a specific destination when a certain action happens, it works fine with mailto, but it doesn't send automatically.

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          On the user's behalf ?
          For "no intervention required" mail sending, you would rather have to implement that within your application.

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          S 1 Reply Last reply
          0
          • SGaistS SGaist

            On the user's behalf ?
            For "no intervention required" mail sending, you would rather have to implement that within your application.

            S Offline
            S Offline
            Sandro Bordinhon
            wrote on last edited by
            #5

            @SGaist Yes that's right

            1 Reply Last reply
            0
            • SGaistS Offline
              SGaistS Offline
              SGaist
              Lifetime Qt Champion
              wrote on last edited by
              #6

              Don't forget to let your users know that it will happen. Having an application phoning home without people knowing will not be a good thing.

              Interested in AI ? www.idiap.ch
              Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

              S 1 Reply Last reply
              0
              • SGaistS SGaist

                Don't forget to let your users know that it will happen. Having an application phoning home without people knowing will not be a good thing.

                S Offline
                S Offline
                Sandro Bordinhon
                wrote on last edited by
                #7

                @SGaist It is an internal application of my company, users are collaborators and are aware that the system can rely on this tool. Is there a way to send it automatically with mailto?

                1 Reply Last reply
                0
                • SGaistS Offline
                  SGaistS Offline
                  SGaist
                  Lifetime Qt Champion
                  wrote on last edited by
                  #8

                  AFAIK, no.

                  Are you using C++ ?
                  If so, you can use the curl library for example to send your email.

                  Interested in AI ? www.idiap.ch
                  Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                  S 1 Reply Last reply
                  0
                  • SGaistS SGaist

                    AFAIK, no.

                    Are you using C++ ?
                    If so, you can use the curl library for example to send your email.

                    S Offline
                    S Offline
                    Sandro Bordinhon
                    wrote on last edited by
                    #9

                    @SGaist Yes I'm using c++, do you have any examples of how I can use this library for this case?

                    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