diff --git a/Securcube.ImapDownloader/Data/Downloader.cs b/Securcube.ImapDownloader/Data/Downloader.cs index 1d2bea8..5f0483e 100644 --- a/Securcube.ImapDownloader/Data/Downloader.cs +++ b/Securcube.ImapDownloader/Data/Downloader.cs @@ -348,7 +348,7 @@ private static long DownloadMails(DataContext dc, PcapCapture pcap) totalMessagesDownloaded++; folder.DownloadedItems++; - messageIdSafeName = System.Text.RegularExpressions.Regex.Replace(msg.Headers["Message-ID"] + "", "[<>\\/:]", ""); + messageIdSafeName = System.Text.RegularExpressions.Regex.Replace(msg.Headers["Message-ID"] + "", "[|\"<>\\/:]", ""); string msgPrefix = item.UniqueId + "";