* eMail: fix problem with failedattachment from vfs

This commit is contained in:
Klaus Leithoff 2013-01-07 10:16:54 +00:00
parent 262c0e5990
commit 669f2083b0

View File

@ -844,15 +844,12 @@
{
egw_vfs::load_wrapper('vfs');
}
else
{
$_mailObject->AddAttachment (
$attachment['file'],
$_mailObject->EncodeHeader($attachment['name']),
(strtoupper($attachment['type'])=='MESSAGE/RFC822'?'7bit':'base64'),
$attachment['type']
);
}
$_mailObject->AddAttachment (
$attachment['file'],
$_mailObject->EncodeHeader($attachment['name']),
(strtoupper($attachment['type'])=='MESSAGE/RFC822'?'7bit':'base64'),
$attachment['type']
);
}
}
}