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 send email using Qt 5.5.1
Forum Updated to NodeBB v4.3 + New Features

How to send email using Qt 5.5.1

Scheduled Pinned Locked Moved Unsolved General and Desktop
26 Posts 6 Posters 17.8k 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.
  • R Offline
    R Offline
    raven-worx
    Moderators
    wrote on 25 Aug 2016, 13:01 last edited by
    #7

    easiest would be to use a already existing solution.
    like this one - drawback is that it was written for Qt4. So it may not compile for Qt5 without some modifications.... i don't know.
    Or this one for Qt5.

    Worth to check at least.

    --- 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

    J 1 Reply Last reply 25 Aug 2016, 13:41
    1
    • R raven-worx
      25 Aug 2016, 13:01

      easiest would be to use a already existing solution.
      like this one - drawback is that it was written for Qt4. So it may not compile for Qt5 without some modifications.... i don't know.
      Or this one for Qt5.

      Worth to check at least.

      J Offline
      J Offline
      John_38
      wrote on 25 Aug 2016, 13:41 last edited by
      #8

      @raven-worx said in How to send email using Qt 5.5.1:

      easiest would be to use a already existing solution.
      like this one - drawback is that it was written for Qt4. So it may not compile for Qt5 without some modifications.... i don't know.
      Or this one for Qt5.

      Worth to check at least.

      Thanks for your feedback.
      I have tested for Qt5.
      After compilation I have this error.
      http://prntscr.com/ca9fjp
      I need install OpenSSL ?

      R 1 Reply Last reply 25 Aug 2016, 13:43
      0
      • J John_38
        25 Aug 2016, 13:41

        @raven-worx said in How to send email using Qt 5.5.1:

        easiest would be to use a already existing solution.
        like this one - drawback is that it was written for Qt4. So it may not compile for Qt5 without some modifications.... i don't know.
        Or this one for Qt5.

        Worth to check at least.

        Thanks for your feedback.
        I have tested for Qt5.
        After compilation I have this error.
        http://prntscr.com/ca9fjp
        I need install OpenSSL ?

        R Offline
        R Offline
        raven-worx
        Moderators
        wrote on 25 Aug 2016, 13:43 last edited by
        #9

        @John_38 said in How to send email using Qt 5.5.1:

        I need install OpenSSL ?

        yes

        --- 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

        J 1 Reply Last reply 26 Aug 2016, 12:15
        1
        • R raven-worx
          25 Aug 2016, 13:43

          @John_38 said in How to send email using Qt 5.5.1:

          I need install OpenSSL ?

          yes

          J Offline
          J Offline
          John_38
          wrote on 26 Aug 2016, 12:15 last edited by John_38
          #10

          @raven-worx said in How to send email using Qt 5.5.1:

          @John_38 said in How to send email using Qt 5.5.1:

          I need install OpenSSL ?

          yes

          I have installed 'OpenSSL'.
          I have paste 'libeay32.dll' and 'ssleay32.dll' in my .exe directory.
          I have this error: http://prntscr.com/canynu
          Can you help me ?

          R 1 Reply Last reply 26 Aug 2016, 12:44
          0
          • J John_38
            26 Aug 2016, 12:15

            @raven-worx said in How to send email using Qt 5.5.1:

            @John_38 said in How to send email using Qt 5.5.1:

            I need install OpenSSL ?

            yes

            I have installed 'OpenSSL'.
            I have paste 'libeay32.dll' and 'ssleay32.dll' in my .exe directory.
            I have this error: http://prntscr.com/canynu
            Can you help me ?

            R Offline
            R Offline
            raven-worx
            Moderators
            wrote on 26 Aug 2016, 12:44 last edited by
            #11

            @John_38
            are you creating the socket and it connection?
            or is this handled internally in the lib?

            --- 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

            J 1 Reply Last reply 26 Aug 2016, 15:33
            0
            • R raven-worx
              26 Aug 2016, 12:44

              @John_38
              are you creating the socket and it connection?
              or is this handled internally in the lib?

              J Offline
              J Offline
              John_38
              wrote on 26 Aug 2016, 15:33 last edited by
              #12

              @raven-worx said in How to send email using Qt 5.5.1:

              @John_38
              are you creating the socket and it connection?
              or is this handled internally in the lib?

              No I dont know how to :/
              Can you tell me what I need to do ?
              Thank man !

              1 Reply Last reply
              0
              • J Offline
                J Offline
                John_38
                wrote on 26 Aug 2016, 15:48 last edited by
                #13

                Ok now I have modified settings on my google account.
                It's work now.
                But after mail send my application crash..
                I don't know why..
                Can you help me ?
                http://prntscr.com/caqya2

                1 Reply Last reply
                0
                • SGaistS Offline
                  SGaistS Offline
                  SGaist
                  Lifetime Qt Champion
                  wrote on 26 Aug 2016, 21:20 last edited by
                  #14

                  Hi,

                  The best way to know why is to run your application through the debugger, you should get the point where the problem occurs.

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

                  J 1 Reply Last reply 27 Aug 2016, 15:01
                  1
                  • SGaistS SGaist
                    26 Aug 2016, 21:20

                    Hi,

                    The best way to know why is to run your application through the debugger, you should get the point where the problem occurs.

                    J Offline
                    J Offline
                    John_38
                    wrote on 27 Aug 2016, 15:01 last edited by
                    #15

                    @SGaist said in How to send email using Qt 5.5.1:

                    Hi,

                    The best way to know why is to run your application through the debugger, you should get the point where the problem occurs.

                    Hi, thank for your feedback.
                    I have using the debug mode.
                    This is error: http://prntscr.com/cb2q7n

                    1 Reply Last reply
                    0
                    • SGaistS Offline
                      SGaistS Offline
                      SGaist
                      Lifetime Qt Champion
                      wrote on 27 Aug 2016, 21:26 last edited by
                      #16

                      The link shows a broken image

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

                      1 Reply Last reply
                      0
                      • J Offline
                        J Offline
                        John_38
                        wrote on 28 Aug 2016, 18:37 last edited by John_38
                        #17

                        My error: http://imgur.com/0FeDXPJ

                        1 Reply Last reply
                        0
                        • SGaistS Offline
                          SGaistS Offline
                          SGaist
                          Lifetime Qt Champion
                          wrote on 29 Aug 2016, 09:20 last edited by
                          #18

                          Are you doing any multi-threading stuff with that class ?

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

                          J 1 Reply Last reply 29 Aug 2016, 09:20
                          0
                          • SGaistS SGaist
                            29 Aug 2016, 09:20

                            Are you doing any multi-threading stuff with that class ?

                            J Offline
                            J Offline
                            John_38
                            wrote on 29 Aug 2016, 09:20 last edited by
                            #19

                            @SGaist No

                            1 Reply Last reply
                            0
                            • SGaistS Offline
                              SGaistS Offline
                              SGaist
                              Lifetime Qt Champion
                              wrote on 29 Aug 2016, 20:37 last edited by
                              #20

                              You should check what data you receive.

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

                              1 Reply Last reply
                              0
                              • M Offline
                                M Offline
                                maksimilijan
                                wrote on 19 Jan 2022, 19:41 last edited by
                                #21
                                This post is deleted!
                                1 Reply Last reply
                                0
                                • SGaistS Offline
                                  SGaistS Offline
                                  SGaist
                                  Lifetime Qt Champion
                                  wrote on 19 Jan 2022, 19:52 last edited by
                                  #22

                                  Hi,

                                  Are you asking for someone to reimplement something like Postfix using Qt ?

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

                                  M 1 Reply Last reply 20 Jan 2022, 12:08
                                  0
                                  • SGaistS SGaist
                                    19 Jan 2022, 19:52

                                    Hi,

                                    Are you asking for someone to reimplement something like Postfix using Qt ?

                                    M Offline
                                    M Offline
                                    maksimilijan
                                    wrote on 20 Jan 2022, 12:08 last edited by
                                    #23
                                    This post is deleted!
                                    1 Reply Last reply
                                    0
                                    • SGaistS Offline
                                      SGaistS Offline
                                      SGaist
                                      Lifetime Qt Champion
                                      wrote on 20 Jan 2022, 12:30 last edited by
                                      #24

                                      Do you realise that this is nothing short of simple ?

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

                                      M 1 Reply Last reply 20 Jan 2022, 13:25
                                      0
                                      • SGaistS SGaist
                                        20 Jan 2022, 12:30

                                        Do you realise that this is nothing short of simple ?

                                        M Offline
                                        M Offline
                                        maksimilijan
                                        wrote on 20 Jan 2022, 13:25 last edited by maksimilijan
                                        #25
                                        This post is deleted!
                                        JonBJ 1 Reply Last reply 20 Jan 2022, 13:31
                                        0
                                        • M maksimilijan
                                          20 Jan 2022, 13:25

                                          This post is deleted!

                                          JonBJ Offline
                                          JonBJ Offline
                                          JonB
                                          wrote on 20 Jan 2022, 13:31 last edited by
                                          #26

                                          @maksimilijan
                                          I don't think/hope anyone here would take payment for doing your homework, as you say in your other post....

                                          1 Reply Last reply
                                          1

                                          • Login

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