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. is there anyway to Send Email to someone in Qt?
Forum Updated to NodeBB v4.3 + New Features

is there anyway to Send Email to someone in Qt?

Scheduled Pinned Locked Moved Unsolved General and Desktop
48 Posts 12 Posters 28.3k Views 3 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.
  • O opengpu

    @raven-worx said in is there anyway to Send Email to someone in Qt?:

    does

    seems not. i put all of this in another thread. so better. but the time of this func is still slow. the time is mainly cost on connectToHost, login, sendMail. and u can easily test it.

    raven-worxR Offline
    raven-worxR Offline
    raven-worx
    Moderators
    wrote on last edited by raven-worx
    #36

    @opengpu said in is there anyway to Send Email to someone in Qt?:

    seems not. i put all of this in another thread. so better. but the time of this func is still slow. the time is mainly cost on connectToHost, login, sendMail. and u can easily test it.

    well it doesn't matter if you move it to another thread if you still create a new instance everytime you send an email.

    Also where does the SmtpClient class come from?

    --- SUPPORT REQUESTS VIA CHAT WILL BE IGNORED ---
    If you have a question please use the forum so others can benefit from the solution in the future

    1 Reply Last reply
    0
    • R Offline
      R Offline
      Robert Hairgrove
      wrote on last edited by
      #37

      Since no one has mentioned it, you can use QDesktopServices::openUrl() with a URL like "mailto:anybody@anywhere.com" which will open the default email client as a new message to that address. However, the user must fill in the subject and message body as well as adding any additional CC or BCC addresses, etc.

      But this might be enough if it is all you need, and extremely simple to use.

      1 Reply Last reply
      0
      • W Offline
        W Offline
        wassimkhemiri
        wrote on last edited by
        #38
        This post is deleted!
        1 Reply Last reply
        0
        • M Offline
          M Offline
          maksimilijan
          wrote on last edited by maksimilijan
          #39
          This post is deleted!
          JonBJ jsulmJ 2 Replies Last reply
          0
          • M maksimilijan

            This post is deleted!

            JonBJ Offline
            JonBJ Offline
            JonB
            wrote on last edited by
            #40

            @maksimilijan
            This is what POP3 or IMAP do?

            M 1 Reply Last reply
            0
            • M maksimilijan

              This post is deleted!

              jsulmJ Offline
              jsulmJ Offline
              jsulm
              Lifetime Qt Champion
              wrote on last edited by
              #41

              @maksimilijan Please stop double posting!
              https://forum.qt.io/topic/70601/how-to-send-email-using-qt-5-5-1/22

              https://forum.qt.io/topic/113070/qt-code-of-conduct

              1 Reply Last reply
              0
              • JonBJ JonB

                @maksimilijan
                This is what POP3 or IMAP do?

                M Offline
                M Offline
                maksimilijan
                wrote on last edited by
                #42
                This post is deleted!
                jsulmJ 1 Reply Last reply
                0
                • M maksimilijan

                  This post is deleted!

                  jsulmJ Offline
                  jsulmJ Offline
                  jsulm
                  Lifetime Qt Champion
                  wrote on last edited by
                  #43

                  @maksimilijan said in is there anyway to Send Email to someone in Qt?:

                  the professor didn't specify

                  Do you want that somebody does your home work for you?

                  https://forum.qt.io/topic/113070/qt-code-of-conduct

                  M 1 Reply Last reply
                  0
                  • jsulmJ jsulm

                    @maksimilijan said in is there anyway to Send Email to someone in Qt?:

                    the professor didn't specify

                    Do you want that somebody does your home work for you?

                    M Offline
                    M Offline
                    maksimilijan
                    wrote on last edited by
                    #44
                    This post is deleted!
                    JonBJ 1 Reply Last reply
                    0
                    • M maksimilijan

                      This post is deleted!

                      JonBJ Offline
                      JonBJ Offline
                      JonB
                      wrote on last edited by
                      #45

                      @maksimilijan Honesty will get you nowhere....

                      M 1 Reply Last reply
                      0
                      • JonBJ JonB

                        @maksimilijan Honesty will get you nowhere....

                        M Offline
                        M Offline
                        maksimilijan
                        wrote on last edited by
                        #46
                        This post is deleted!
                        KroMignonK 1 Reply Last reply
                        0
                        • M maksimilijan

                          This post is deleted!

                          KroMignonK Offline
                          KroMignonK Offline
                          KroMignon
                          wrote on last edited by
                          #47

                          @maksimilijan said in is there anyway to Send Email to someone in Qt?:

                          you never know, the task is not difficult.. Maybe someone is willing.

                          If this task is not difficult why you don't do it yourself?

                          It is an old maxim of mine that when you have excluded the impossible, whatever remains, however improbable, must be the truth. (Sherlock Holmes)

                          M 1 Reply Last reply
                          1
                          • KroMignonK KroMignon

                            @maksimilijan said in is there anyway to Send Email to someone in Qt?:

                            you never know, the task is not difficult.. Maybe someone is willing.

                            If this task is not difficult why you don't do it yourself?

                            M Offline
                            M Offline
                            maksimilijan
                            wrote on last edited by
                            #48
                            This post is deleted!
                            1 Reply Last reply
                            0
                            • JonBJ JonB referenced this topic on

                            • Login

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