[Interest] Send e-mail with Qt

Thiago Macieira thiago.macieira at intel.com
Tue May 29 10:28:48 CEST 2012


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

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center
     Intel Sweden AB - Registration Number: 556189-6027
     Knarrarnäsgatan 15, 164 40 Kista, Stockholm, Sweden
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20120529/a96b66cf/attachment.sig>


More information about the Interest mailing list