On 05/29/2012 10:28 AM, Thiago Macieira wrote: > On segunda-feira, 28 de maio de 2012 16.10.31, Yuvraaj Kelkar wrote: >> It depends on how you want to send an email. >> >> You can either do it the easy way: >> http://qt-project.org/doc/qt-4.8/qdesktopservices.html#openUrl >> >> Or the really involved and hard way: >> http://labs.qt.nokia.com/2009/09/21/introducing-qmf-an-advanced-mobile-messa >> ging-framework/ > Two more options: > > 1) use QProcess and launch /usr/sbin/sendmail > > 2) use QTcpSocket and connect to the user's SMTP server port, authenticate and > send the email manually >
One more option: Send mail from Python, which provides necessary plumbing to make it straight forward. Python you can either call with QProcess, or embed python with PythonQt (http://pythonqt.sourceforge.net/) /Harri _______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest