Backendless Support
 
Assigned to Dev

email sends both textmessage and htmlmessage

when I try email sanding sample from doc (btw, I'm using google smtp):

var bodyParts = new Backendless.Bodyparts();

bodyParts.textmessage = "Check out this awesome code generation result";

bodyParts.htmlmessage = "Check out this <b>awesome</b> code generation result";

var attachments = [];

// non-blocking call

Backendless.Messaging.sendEmail( "Email from Backendless", bodyParts, [ "james.bond@mi6.uk.co" ], attachments )

I'm receiving email that is textmessage with appended htmlmessage

a1e0292c8fcc977996bd8650d83df196

I expected to see only part with htmlmessage.

If I leave textmessage empty when in mobile email client there is label "(no body)" which doesn't look good.

So, is it bug or I should change something?

Leave a Comment

Comments (10)

photo
1

Hello Yuriy,

Thank you for the report, this looks like a bug to me. I've created an internal task BKNDLSS-17042 to handle this.

photo
1

The problem has been fixed on your managed server (secw). The fix for the online version needs a few additional tests and is still in progress.

photo
1

actually, this fix seem to broke another thing. Now, if I add attachment in email, body doesn't shows at all in apple email clients (tested on iPad, iPhone, Mac). There is only attach in email and no body. Same email shows fine on Android and other clients

photo
1

For now, we can revert it only. should we do that?

photo
1

This will affect email only, right? Then yes, revert please

photo
photo
1

This will affect email only, right? Then yes, revert please

photo
1

Done.

photo
1

yup, works as before. Can you give time estimation for fix for body with textmessage (and attach)?

photo
1

Hello Yuriy,

We are working on this issue but we cannot provide estimation time right now.

Regards,

Olga

photo
photo
1

Hi Yuriy,

Considering the circumstances, we've increased the priority of this task. My initial estimation is no longer than till the end of this week.