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 an API for sending Email in Qt ?
Forum Updated to NodeBB v4.3 + New Features

Is there an API for sending Email in Qt ?

Scheduled Pinned Locked Moved General and Desktop
13 Posts 5 Posters 20.7k 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.
  • A Offline
    A Offline
    aabc
    wrote on last edited by
    #4

    Is there a ready API for this ?

    1 Reply Last reply
    0
    • C Offline
      C Offline
      cincirin
      wrote on last edited by
      #5

      What's the problem with "QxtSmtp ":http://libqxt.bitbucket.org/doc/tip/qxtsmtp.html ? You can send mail with attachements, in plain text or html text, can send e-mail with secured host and so on ...

      1 Reply Last reply
      0
      • A Offline
        A Offline
        aabc
        wrote on last edited by
        #6

        Do you use it ?
        When was the last version published ?

        1 Reply Last reply
        0
        • C Offline
          C Offline
          cincirin
          wrote on last edited by
          #7

          [quote author="aabc" date="1353331205"]Do you use it ?
          When was the last version published ?[/quote]

          Yes, I used it with all the specifications that I have mentioned above. I used libqxt-0.6.2

          1 Reply Last reply
          0
          • A Offline
            A Offline
            aabc
            wrote on last edited by
            #8

            Thanks cincirin

            1 Reply Last reply
            0
            • C Offline
              C Offline
              cincirin
              wrote on last edited by
              #9

              Welcome & good luck :-)

              1 Reply Last reply
              0
              • L Offline
                L Offline
                LeeMinh
                wrote on last edited by
                #10

                Hi cincirin,

                I am a newbie in Qt and I also have an application which contains send email functionality. As your suggestion, I am using "QxtSmtp":http://libqxt.bitbucket.org/doc/tip/qxtsmtp.html in my application. But I tried many ways to send email with attachments and I failed. Could you please give me a sample send email with attachments?

                Thanks in advance!

                [quote author="cincirin" date="1353330949"]What's the problem with "QxtSmtp ":http://libqxt.bitbucket.org/doc/tip/qxtsmtp.html ? You can send mail with attachements, in plain text or html text, can send e-mail with secured host and so on ...[/quote]

                1 Reply Last reply
                0
                • JeroentjehomeJ Offline
                  JeroentjehomeJ Offline
                  Jeroentjehome
                  wrote on last edited by
                  #11

                  Hi LeeMInh,
                  First post some code of your own. What did you try?? What didn't work?? Don't expect someone just to post his entire knowledge for the world to see.
                  Btw, this post is very old, so maybe it would be better to start a new one.

                  Greetz, Jeroen

                  1 Reply Last reply
                  0
                  • L Offline
                    L Offline
                    LeeMinh
                    wrote on last edited by
                    #12

                    I see. I will start a new thread to discuss about my issue.

                    Thanks for your advice!
                    [quote author="Jeroentje@home" date="1381139046"]Hi LeeMInh,
                    First post some code of your own. What did you try?? What didn't work?? Don't expect someone just to post his entire knowledge for the world to see.
                    Btw, this post is very old, so maybe it would be better to start a new one. [/quote]

                    1 Reply Last reply
                    0
                    • C Offline
                      C Offline
                      cincirin
                      wrote on last edited by
                      #13

                      Hi,
                      as @Jeroentje already said, it would be better to post some code to see what's wrong.

                      [quote author="LeeMinh" date="1381138733"] Could you please give me a sample send email with attachments?
                      [/quote]

                      QxtMailMessage works in the same way with or without attachment (i.e, without calling QxtMailMessage::addAttachment function). So, did the e-mail worked without attachment ? If not, make sure your mail server support no secure connection, otherwise you need to connect to secured host (QxtSmtp::connectToSecureHost) and also you must use OpenSSL libraries.

                      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