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.6k 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.
  • VRoninV Offline
    VRoninV Offline
    VRonin
    wrote on last edited by
    #4

    I edited my answer too late, sorry. see above

    "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

    John_38J 1 Reply Last reply
    0
    • VRoninV VRonin

      I edited my answer too late, sorry. see above

      John_38J Offline
      John_38J Offline
      John_38
      wrote on last edited by
      #5

      @VRonin Can you tell me how to configure and use this ?
      I have read tutorial but I dont know how to put all folder and how to compile.
      Can you help me ? :/
      Thank !!

      1 Reply Last reply
      0
      • VRoninV Offline
        VRoninV Offline
        VRonin
        wrote on last edited by
        #6

        To build libcurl you can use CMake
        Example of email with libcurl: https://curl.haxx.se/libcurl/c/smtp-ssl.html
        How to integrate libcurl in Qt Creator: http://doc.qt.io/qt-5/third-party-libraries.html

        "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

        1 Reply Last reply
        1
        • raven-worxR Offline
          raven-worxR Offline
          raven-worx
          Moderators
          wrote on 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

          John_38J 1 Reply Last reply
          1
          • raven-worxR raven-worx

            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.

            John_38J Offline
            John_38J Offline
            John_38
            wrote on 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 ?

            raven-worxR 1 Reply Last reply
            0
            • John_38J John_38

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

              raven-worxR Offline
              raven-worxR Offline
              raven-worx
              Moderators
              wrote on 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

              John_38J 1 Reply Last reply
              1
              • raven-worxR raven-worx

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

                I need install OpenSSL ?

                yes

                John_38J Offline
                John_38J Offline
                John_38
                wrote on 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 ?

                raven-worxR 1 Reply Last reply
                0
                • John_38J John_38

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

                  raven-worxR Offline
                  raven-worxR Offline
                  raven-worx
                  Moderators
                  wrote on 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

                  John_38J 1 Reply Last reply
                  0
                  • raven-worxR raven-worx

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

                    John_38J Offline
                    John_38J Offline
                    John_38
                    wrote on 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
                    • John_38J Offline
                      John_38J Offline
                      John_38
                      wrote on 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 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

                        John_38J 1 Reply Last reply
                        1
                        • SGaistS SGaist

                          Hi,

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

                          John_38J Offline
                          John_38J Offline
                          John_38
                          wrote on 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 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
                            • John_38J Offline
                              John_38J Offline
                              John_38
                              wrote on 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 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

                                John_38J 1 Reply Last reply
                                0
                                • SGaistS SGaist

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

                                  John_38J Offline
                                  John_38J Offline
                                  John_38
                                  wrote on last edited by
                                  #19

                                  @SGaist No

                                  1 Reply Last reply
                                  0
                                  • SGaistS Offline
                                    SGaistS Offline
                                    SGaist
                                    Lifetime Qt Champion
                                    wrote on 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 last edited by
                                      #21
                                      This post is deleted!
                                      1 Reply Last reply
                                      0
                                      • SGaistS Offline
                                        SGaistS Offline
                                        SGaist
                                        Lifetime Qt Champion
                                        wrote on 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
                                        0
                                        • SGaistS SGaist

                                          Hi,

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

                                          M Offline
                                          M Offline
                                          maksimilijan
                                          wrote on last edited by
                                          #23
                                          This post is deleted!
                                          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