-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Subject line - extend the 200 char max length #1909
Comments
@knadh Thanks for building an awesome app! I thought my question might fit well here, but please let me know if I should submit a new issue or something else. I appreciate any help on this, thank you! I'm trying to integrate my Listmonk instance with my Google Apps Script workflow, but I'm running into this character limitation. I often have campaigns with custom subject lines for each subscriber in the list. These subject lines often only differ by a handful of words or so, but the Go template logic to implement that easily exceeds the limit — which appears to be 5,000 characters from the c2e7c71 commit. It would seem that I have a few options:
My questions are:
Thanks again for your time, I really appreciate it! |
5000 chars of templating language for the subject line sounds extreme! There must be better ways to orchestrate this.
JSON There's no per-campaign |
Thanks for the quick reply @knadh ! For clarity on my scenario:
Example subject lines for a recent email campaign:
Using the approach where we store the data on the subscriber attribs property, these might be templated like so:
The This approach keeps the subject line template character count under 5,000, but it attaches a lot of campaign-specific data to the subscriber. Over time, that subscriber record might swell up in size because we send dozens of campaigns per month. I'd prefer to attach campaign data:
With all of that said, it sounds like I don't have access to arbitrary JSON store on the campaign record. So I just have a few questions left:
Thanks again for your help! |
Ah, thanks for the detailed explanation. The ideal solution to this is per-campaign meta, which is on the TODO list for a future version.
You can remove them.
If you have extremely complex subject line templating logic, that naturally adds to the mail processing time. It'll be equivalent to compiling complex mail body templates twice per campaign (complex subject and the actual body). But I don't think this would have a material impact on sending out e-mails, despite an overall slowdown. But very large subject lines being shown as a small input box isn't good UX. It doesn't make sense from a UI/product perspective, unless the subject field itself is a large textarea, which is a very niche usecase.
|
Subject line is limited to 200 characters, it's an issue for coding dynamic subject lines with Go Template language
I would prefer 1000 or 2000 characters for coding the subject line (although the final generated subject line is below 200 characters )
The text was updated successfully, but these errors were encountered: