From 71758a7c3ba183e3e81193d0903e1cc1bcd44748 Mon Sep 17 00:00:00 2001 From: Evgeny Chuvelev Date: Fri, 29 Jan 2021 20:45:40 +0300 Subject: [PATCH] Fix issue with 'Badly formed incoming data' --- api/sendpulse.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/sendpulse.js b/api/sendpulse.js index 751ef34..81b2213 100644 --- a/api/sendpulse.js +++ b/api/sendpulse.js @@ -945,7 +945,7 @@ function smtpSendMail(callback, email) { if (email.html) email['html'] = base64(email['html']); var data = { - email: serialize(email) + email }; sendRequest('smtp/emails', 'POST', data, true, callback); }