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

BUG: getPartWithContentId is tolowercase but not cid #208

Open
Tzanou123 opened this issue Oct 19, 2022 · 0 comments
Open

BUG: getPartWithContentId is tolowercase but not cid #208

Tzanou123 opened this issue Oct 19, 2022 · 0 comments

Comments

@Tzanou123
Copy link
Contributor

Hello,

I think i found a fix for a bug i get on showing inline attachments.

On https://github.com/Enough-Software/enough_mail/blob/main/lib/src/mime_message.dart

Line 1012 you check if partCid.toLowerCase() == cid but cid it is not in toLowerCase so i get a return null even if the part exist.

But Line 1008 the variable contentId = contentId.toLowerCase(); but not used

You maybe need to use it on line 1012 as follow partCid.toLowerCase() == contentId

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