fixed broken import after r49077

This commit is contained in:
Ralf Becker 2014-10-21 18:49:38 +00:00
parent d26fbdcb00
commit 0190a1a908

View File

@ -6061,6 +6061,10 @@ class emailadmin_imapbase
*/
function parseFileIntoMailObject($mailObject,$tmpFileName,&$Header,&$Body)
{
if (parse_url($tmpFileName, PHP_URL_SCHEME) != 'vfs')
{
$tmpFileName = $GLOBALS['egw_info']['server']['temp_dir'].SEP.basename($tmpFileName);
}
$message = file_get_contents($tmpFileName);
try
{