If all you want to do is -send- an e-mail from your application, it is very easy to use QDesktopServices:
Qt Code:
strMailTo += "Hi! This is the body of the e-mail";To copy to clipboard, switch view to plain text mode
The QUrl constructor will convert the "strMailTo" string into a proper URL (that is, replace spaces by %20%, and so forth). The Boolean result tells you whether the call succeeded or not.
Forget all this stuff about sockets, TCP, SMTP, and so on.
David




Reply With Quote
Bookmarks