Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversion breaks on Subject / Filename #4

Open
jgilgan opened this issue Apr 26, 2022 · 0 comments
Open

Conversion breaks on Subject / Filename #4

jgilgan opened this issue Apr 26, 2022 · 0 comments

Comments

@jgilgan
Copy link

jgilgan commented Apr 26, 2022

The conversion of email with "Re:" for example, breaks. The filename then is Re, length 0 bytes

Solution that worked for me, replace line 514 of MsgToEml.psm1 with this one, filtering out special characters:

else { $exportPath = Join-Path $folderPath "$($ewsItem.Subject -replace '[^a-zA-Z0-9]', '_').eml" }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant