distriqt / ANE-Message

Send messages from AIR using email and SMS
https://airnativeextensions.com/extension/com.distriqt.Message
0 stars 0 forks source link

Body not present #59

Closed Voltigeuse closed 3 years ago

Voltigeuse commented 3 years ago

My app for Android take a picture and join it by mail. The email is well done but without any body

image

body is well filled as in my trace image

Do you have any idea of the problem ?

Framework Flash Builder 4.7 SDK air 33.1.1.300 Samsung Galaxy S7 SM-G930F Android 8.0.0

marchbold commented 3 years ago

What email client are you using, as we don't control the client all we can do is pass the data to the client? What the email client application does with the data is dependent on the developers of the client.

Have you tried with the html flag to false, it could be that it doesn't accept html content.

Voltigeuse commented 3 years ago

I used Outlook I will try with gmail. I don't know how to put html flag to false, where have I to put this ?

Voltigeuse commented 3 years ago

In fact with gmail it'is working. Can you still tell me how to put html flag to false and where have I to put this ? Thanks a lot

marchbold commented 3 years ago

With the sendMailWithOptions function it is the 7th parameter, isHTML, a boolean value, "if true the body string is rendered as html":

https://docs.airnativeextensions.com/asdocs/message/com/distriqt/extension/message/Message.html#sendMailWithOptions()

Voltigeuse commented 3 years ago

Ok thank you