Am 28.02.2014 um 12:00 schrieb Jan Kundrát <j...@flaska.net>:

> On Friday, 28 February 2014 11:02:33 CEST, Till Oliver Knoll wrote:
>> Or in just one line:
>> 
>>  QByteArray::toBase64()
> 
> For the record, this is not enough -- the MIME standard imposes additional 
> restrictions, ...

Off course ;)

The point to be taken away was really just this: IF you assemble the mail body 
yourself, you can't simply write binary data into it (you need to encode it, 
with all the bells and whistles defined in RFC 2045).

Somehow the lines from an earlier post...

> QByteArray ba_pdf = file.readAll();
> qDebug() << ba_pdf;

... made me suspicioud that this is what is being attempted here.

Cheers,
  Oliver

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

Reply via email to