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

Transactional api sends empty subject when subject does not contain template string "{{" #898

Closed
eddywashere opened this issue Aug 8, 2022 · 1 comment
Labels
bug Something isn't working

Comments

@eddywashere
Copy link

Version:

  • listmonk: 2.2.0
  • OS: Ubuntu 20
  • Mailgun smtp

Description of the bug and steps to reproduce:

The email subject is empty when sending transactional emails via /api/tx and the subject of the template does not contain a template string.

Screenshots:

Transactional Template without template string in subject

POST `/api/tx`

{
	"subscriber_email": "me@example.com",
	"template_id": 5
	"content_type": "html"
}

image

image

Transactional Template with template string in subject

POST `/api/tx`

{
	"subscriber_email": "me@example.com",
	"template_id": 5,
	"data": { "subject": "this is a custom subject2" },
	"content_type": "html"
}

image

image

@eddywashere eddywashere added the bug Something isn't working label Aug 8, 2022
@knadh
Copy link
Owner

knadh commented Aug 17, 2022

Thanks for reporting. Will investigate this shortly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants