I'm using class GmailApp of google apps script to get body of mail and show it in html.
Body get ok but img of mail error:
ERR_UNKNOWN_URL_SCHEME.
Is there any way to retrieve the entire message body, including the image?
Code GS:
function GetBodyMail(){
var thread = GmailApp.getThreadById("16cfd66654bb9593") ;
var mgs = thread.getMessages();
var mgsBody = mgs[0].getBody();
return mgsBody;
}