qt_demoe/tool/3rd_smtpclient/mimeattachment.cpp

18 lines
272 B
C++
Raw Normal View History

2019-11-21 06:28:56 +00:00
#include "mimeattachment.h"
#include <QFileInfo>
MimeAttachment::MimeAttachment(QFile *file)
: MimeFile(file)
{
}
MimeAttachment::~MimeAttachment()
{
}
void MimeAttachment::prepare()
{
this->header += "Content-disposition: attachment\r\n";
MimeFile::prepare();
}