[Interest] Send e-mail with Qt

Scott Aron Bloom Scott.Bloom at onshorecs.com
Tue May 29 17:36:22 CEST 2012


Another option, use Qxt.  A set of Qt extensions, one of them, being a SMTP system

Scott

-----Original Message-----
From: interest-bounces+scott.bloom=onshorecs.com at qt-project.org [mailto:interest-bounces+scott.bloom=onshorecs.com at qt-project.org] On Behalf Of Thiago Macieira
Sent: Tuesday, May 29, 2012 1:29 AM
To: interest at qt-project.org
Subject: Re: [Interest] Send e-mail with Qt

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



More information about the Interest mailing list