[Interest] PDF to QByteArray

Scott Aron Bloom scott.bloom at onshorecs.com
Fri Feb 28 08:48:03 CET 2014


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.com at qt-project.org [mailto:interest-bounces+scott.bloom=onshorecs.com at 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 <estanisgeyer at hotmail.com<mailto:estanisgeyer at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20140228/d237c332/attachment.html>


More information about the Interest mailing list