However, there are Qt base libraries.. QtExt for instance, that do allow the 
attachments from QByteArray, and they do all the computation into Base64 hidden 
from the user.

Scott

From: interest-bounces+scott.bloom=onshorecs....@qt-project.org 
[mailto:interest-bounces+scott.bloom=onshorecs....@qt-project.org] On Behalf Of 
Till Oliver Knoll
Sent: Thursday, February 27, 2014 11:00 PM
To: Qt Project
Subject: Re: [Interest] PDF to QByteArray

Am 28.02.2014 um 02:58 schrieb Marcelo Estanislau Geyer 
<estanisge...@hotmail.com<mailto:estanisge...@hotmail.com>>:


So that they can understand, I need to put the contents of a pdf file into a 
QByteArray, as this QByteArray is used as an attachment in the email sending 
process.


What makes you think you can attach any random BLOB to an email and send it 
without *encoding* (to Base64) first?

(Hint: you can't ;))

Cheers,
  Oliver
_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to