Demo 2 bug fix
This commit is contained in:
parent
e6d8578b1d
commit
a118309811
@ -98,7 +98,7 @@ void SendEmail::on_sendEmail_clicked()
|
||||
|
||||
for (int i = 0; i < ui->attachments->count(); ++i)
|
||||
{
|
||||
message.addPart(new MimeFile(new QFile(ui->attachments->item(i)->text())));
|
||||
message.addPart(new MimeAttachment(new QFile(ui->attachments->item(i)->text())));
|
||||
}
|
||||
|
||||
if (!smtp.connectToHost())
|
||||
|
Loading…
Reference in New Issue
Block a user