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

Can I print the whole email message as json upon sending it? #76

Open
jadchahine opened this issue Dec 23, 2016 · 1 comment
Open

Can I print the whole email message as json upon sending it? #76

jadchahine opened this issue Dec 23, 2016 · 1 comment

Comments

@jadchahine
Copy link

Hello,

First I would thank you so much for this good work.

I am using this library to send template emails to users, I am already defined many templates in mandrill and I am just passing the handlebars tags from the api here, but for some reason the template email is received but without replacing the variables {{}} by the value that I am sending, hence the merge tags are not working, for this reason I am looking for a method to print the whole json message after sending the email so I can analyse it to see what is the problem and why the merge tags are not working.

So is there any way to print the whole json after this operation?

MandrillMessageStatus[] messageStatusReports = mandrillApi.messages().sendTemplate("test-template", template_content, message, false);

@jadchahine jadchahine changed the title Can I print the whole email message as json before upon sending it? Can I print the whole email message as json upon sending it? Dec 23, 2016
@shurth
Copy link

shurth commented Dec 15, 2017

I just had this issue. Turn on debug logging for: com.microtripit.mandrillapp.lutung.model

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