I'm making tiny e-mail application downloading attachments from server POP3. I used QByteArray::fromBase64 to decode files. I haven't got problems with *.txt files but I can't download and save e.g. *.png files. Images files are dameged. This is my code:
Qt Code:
QByteArray hashAtt; for( ... ) { (...) hashAtt.append(lines[i]); (...) } { out << hashAtt; hashAtt.clear(); }To copy to clipboard, switch view to plain text mode
What should I do to correctly download all attachments from host?
Bookmarks