Activity.starter fails to send email sometimes

Hello, my released app fnsbazar does fail to send email content when selecting gmail.
With Xiaomi Mi 9 T pro, android 10, miui11
When I select other emmail e.g. gmx app, content will be send correctly.

Any Idea why.?

We believe that this is a potential bug in Gmail. @hal found a similar issue based on the description and we’ve reported the issue to Google.

I’ve been looking at this issue and consulting with some of the Google folks on the Android team.
It’s a bug in Gmail as far as I know. I’m looking for s way to patch around it in App Inventor, so that
App Inventor users won’t encounter it. Untortunalely, it looks that finding a fix depends on the type os phone and version of Android.

Here’s a Mediium post with people discussing the problem

https://medium.com/better-programming/the-imperfect-android-send-email-action-59610dfd1c2d)

I’ll keep working on it.

1 Like

Not necessarily specific to Android. It can also be the content of the email and/or attachments. Any attachment that is or can evolve to be an executable of some kind will result in Google rejecting it. I think the email Subject/Body may also be searched for specific words/names associated with hacking, phishing and viruses.

Thank you all.
My content looks like this, with ? as separator. (from december)
D?70599?Stuttgart ?weg?schule?02.02.2020?23:4?23:42?23:55?snowcrash1@gmx.de?heise.de
Where the gmai has made in the past an webadress out of.
(http://snowcrash1@gmx.de/?heise.de)?

It would really help if you provided a screenshot of your relevant blocks, so we can see what you are trying to do, and where the problem may be.

To get an image of your blocks, right click in the Blocks Editor and select “Download Blocks as Image”. You might want to use an image editor to crop etc. if required. Then post it here in the community.

Taifun


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

1 Like

Attached the blocks. No change since 11-19.

There was this week a gmail update but still the headline and content will not be transfered into gmail app.

2 update from gmail app later situation is stil same. No email via gmail app, only via gmx or others…
Does someone has a workarround for MIT ai.? Thank you

Really Stefan? This example works to send eMail to gmail and other eMail addresses. Are you using Companion 2.57a? You must run this in a real Android device (not an emulator). Most emulators will not support the ActivityStarter action. So far, it has ‘never failed.’ to transfer the Subject and content to gmail. Try coding the ActivityStarter using the example. Tell us what happens.

eMail1

Your issue may be how you use Extras … you do not have use Extras …

use one of the other solutions

Different eMail solutions for App Inventor

Taifun


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

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.