Yes,
The QSslSocket aims at support ssl with SMTP
You've got two options: recompile Qt with openssl support or delete everything about QSslSocket and use only QTcpSocket. In this case you cannot connect to SMTP servers that required SSL.
As before, this a particular case and most SMTP servers accept non encrypted connections. I think this as nothing to do with Qt 4.3, I'm quite sure you can compile Qt with SSL
Ok I wil see for the second option
Originally Posted by d_stranz
If all you want to do is -send- an e-mail from your application, it is very easy to use QDesktopServices:
QString strMailTo( "mailto:someone@someAddress.com?subject='My E-mail example'&body=" );
strMailTo += "Hi! This is the body of the e-mail";
bool bResult = QDesktopServices::openUrl( QUrl( strMailTo ) );
To copy to clipboard, switch view to plain text mode
I need to send an attach file .
Last edited by omega36; 22nd December 2008 at 10:39.
Bookmarks