彻底改版2.0
This commit is contained in:
17
tool/3rd_smtpclient/mimeattachment.cpp
Normal file
17
tool/3rd_smtpclient/mimeattachment.cpp
Normal file
@@ -0,0 +1,17 @@
|
||||
#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();
|
||||
}
|
||||
Reference in New Issue
Block a user