Send email with photo and with painted lines

I'm new to trying to make apps.
I have a question about drawing on a picture and emailing both the photo and what was drawn on the photo without having to save everything first.
I have used the tutorial "paintpot" and then tried to send "canvas1. BackgroundImage" with "ShareFileWithMessage". Only the photo is sent, but not what I have drawn on the picture. What have I miss?

it will not work without saving first...
How to save a canvas
EDIT: see also Different eMail solutions for App Inventor


Trying to push the limits! Snippets, Tutorials and Extensions from Pura Vida Apps by icon24 Taifun.

Thanks, it works!

Another question about my test app: line breaks in ShareFileWithMessage, how to start a new line or get an empty line. The one I did does not look good in an email.


try \n for new line
try \n\n for empty line



Tried to use / n and / n / n, looked good in the email when I sent it away. When it came out in outlook, everything was in a row. No new row for each /n.
Outlook shows in html, can this be the cause?

First off it should be \n or \n\n (not /n)

If you need to send with html tags, then try <br> or <br><br>

In an eMail, you must use <br> or <br><br> as Tim indicated to elicit a line change. \n does not work in emails.

See Sending mail with more than one line (in the body of the message)

sorry, I wrote wrong, I meant \n :grin:
It worked with <br>

Thanks again