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. Sending an Email in Windows Qt Console Application

Sending an Email in Windows Qt Console Application

Scheduled Pinned Locked Moved General and Desktop
3 Posts 2 Posters 1.5k 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.
  • L Offline
    L Offline
    L471
    wrote on last edited by
    #1

    Hi,

    I'm attempting to send an email via a Qt Console Application. However I am quite clearly not an expert in using Qt which is making it difficult to work out which solutions work and which don't.
    I'm currently using the Microsoft Visual C++ Compiler 10 and Qt 5.3.1 both on Windows 7.

    My aim is to send an email which contains an attachment from the program.
    Does anyone have advice on the best way to achieve this?

    Please note that I do not know how to install an extension to Qt or how to use any of the Smtp plugins I have found, however I am happy to learn so any pointers to useful material would be great.

    Thanks,
    Lance

    1 Reply Last reply
    0
    • A Offline
      A Offline
      arsinte_andrei
      wrote on last edited by
      #2

      in order to send an email you will need a mail server and account details from there. if you have a pop3 or imap server. is this server local or you want to use a global one like yahoo, gmail and so on...
      also have a look "here":http://trojita.flaska.net/ this is a Qt imap client
      I do not know exactly what are you trying to archive.. a bit more details will help me to improve my answer

      1 Reply Last reply
      0
      • L Offline
        L Offline
        L471
        wrote on last edited by
        #3

        Basically my Qt code currently does a bit of analysis and what I then want it to do is send an email automatically via an imap server to alert a human if they needs to look at it.

        Happy to provide as many details as I can so feel free to bombard me with questions and I'll answer as best I can. As I said above I'm pretty new to this IDE and unfamiliar with the best way of doing things (previously i have only used C++ for the analysis stage, never the email stage)

        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