-
Notifications
You must be signed in to change notification settings - Fork 52
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
Variables looked for in uppercase instead of specified format: SENDERNAME is not defined instead of senderName #124
Comments
Thank you!! This is your first issue on this repo |
I'm also experiencing this issue. Any resolution? |
Could you explain what do you mean by having to send variables in uppercase by giving us an example on how it works and on how it not works? |
Yes I have the same issue. I investigated. It's due to htmltotext method. It uses the lib html to text and for H1 or H2 it puts by default uppercase. You need to remove this otherwise when we call a variable lowercase in a title it can't find it because the text version transforms in uppercase.
Please fix it because I have the same issue. Thanks, |
Since #128 was merged, could you try to clone the Does this solve the issue? |
Bug report
Describe the bug
I need to send my email template variables from the code with upper case even though the template mentions
{{= variableName }}
in this format.Steps to reproduce the behavior
{{= senderName }}
variable in any text or in the subjectsenderName
with the method:strapi.plugins["email-designer"].services.email.sendTemplatedEmail()
Additional context
It seems to be happening only in PROD environment but not 100% sure.
The text was updated successfully, but these errors were encountered: