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. Mail with qt
Forum Updated to NodeBB v4.3 + New Features

Mail with qt

Scheduled Pinned Locked Moved Unsolved General and Desktop
5 Posts 5 Posters 1.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.
  • N Offline
    N Offline
    Network1618033
    wrote on last edited by
    #1

    Hi everyone !
    I am looking send mail but i don't know how to perform that.
    May you help me ?
    I would like to have an easier method if it is possible.(I'm a beginner with qt)

    Thanks !

    JonBJ 1 Reply Last reply
    0
    • dheerendraD Offline
      dheerendraD Offline
      dheerendra
      Qt Champions 2022
      wrote on last edited by
      #2

      Do you want to send an email from Qt program ? If yes, Qt has no package/class to send an email. Some third party C++ library should be able to help you on this.

      Dheerendra
      @Community Service
      Certified Qt Specialist
      http://www.pthinks.com

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

        it's not available in Qt out of the box as it's 100% dependant on the server you are using. If your server supports SMTP (as most do) you can use something like https://github.com/bluetiger9/SmtpClient-for-Qt

        "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
        2
        • N Network1618033

          Hi everyone !
          I am looking send mail but i don't know how to perform that.
          May you help me ?
          I would like to have an easier method if it is possible.(I'm a beginner with qt)

          Thanks !

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

          @Network1618033
          Decide on what protocol you want to use (e.g. SMTP). Google for "qt send mail example", e.g. https://stackoverflow.com/questions/3717018/how-to-send-mail-via-smtp-and-get-it-by-using-qt

          1 Reply Last reply
          0
          • mrjjM Offline
            mrjjM Offline
            mrjj
            Lifetime Qt Champion
            wrote on last edited by
            #5

            Hi
            An easy way is also just to use a command line program to do it
            https://github.com/muquit/mailsend

            1 Reply Last reply
            3

            • Login

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