Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Is there an API for sending Email in Qt ?

    General and Desktop
    5
    13
    19917
    Loading More Posts
    • 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
      aabc last edited by

      Is there an API for sending Email in Qt ?

      1 Reply Last reply Reply Quote 0
      • C
        cincirin last edited by

        Try "QxtSmtp":http://libqxt.bitbucket.org/doc/tip/qxtsmtp.html.

        1 Reply Last reply Reply Quote 0
        • G
          gayu last edited by

          In this http://www.qtcentre.org/threads/2221-Sending-email-using-Qt you may see for sending email in qt. Think so it will also be helpful for you.

          1 Reply Last reply Reply Quote 0
          • A
            aabc last edited by

            Is there a ready API for this ?

            1 Reply Last reply Reply Quote 0
            • C
              cincirin last edited by

              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 Reply Quote 0
              • A
                aabc last edited by

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

                1 Reply Last reply Reply Quote 0
                • C
                  cincirin last edited by

                  [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 Reply Quote 0
                  • A
                    aabc last edited by

                    Thanks cincirin

                    1 Reply Last reply Reply Quote 0
                    • C
                      cincirin last edited by

                      Welcome & good luck :-)

                      1 Reply Last reply Reply Quote 0
                      • L
                        LeeMinh last edited by

                        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 Reply Quote 0
                        • Jeroentjehome
                          Jeroentjehome last edited by

                          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 Reply Quote 0
                          • L
                            LeeMinh last edited by

                            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 Reply Quote 0
                            • C
                              cincirin last edited by

                              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 Reply Quote 0
                              • First post
                                Last post