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

Mailnag 2.2.0 truncates subject lines #252

Open
JanBluePix opened this issue Oct 30, 2024 · 1 comment
Open

Mailnag 2.2.0 truncates subject lines #252

JanBluePix opened this issue Oct 30, 2024 · 1 comment

Comments

@JanBluePix
Copy link

The original coded subject line (kleinanzeigen.de) is:
Subject: Neue Treffer zu deiner Suche =?UTF-8?B?4oCeRm90bw==?= - asahi in Ganz =?UTF-8?B?RGV1dHNjaGxhbmTigJw=?=

The uncoded subject line should therefore look like this:
Subject: Neue Treffer zu deiner Suche „Foto - asahi in Ganz Deutschland“

But Mailnag makes this:
Subject: Neue Treffer zu deiner Suche

The subject line is generated correctly by Mailnag. However, in file mails.py at line 175,176 the array is overwritten and the last part is missing in the subject line.

Commenting out line 175,176 solves the problem. But maybe just only for me...

tikank added a commit to tikank/mailnagger that referenced this issue Nov 6, 2024
@tikank
Copy link
Contributor

tikank commented Nov 6, 2024

I didn't find reason for the check in those lines. I tried to test the function and it seems to work well without those lines.

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

2 participants