gmail

General discussions about Automagic and automation in general

Moderator: Martin

Post Reply
frage
Posts: 43
Joined: 20 May 2017 12:15

gmail

Post by frage » 15 Mar 2018 21:53

Hallo Forum,

ich versuche einen Flow zu erstellen, der bei der Eingabe des falschen PIN Fotos macht und diese als eMail versendet.
Nach dem versenden sollen die Bilder vom Handy gelöscht werden.
Wenn ich den falschen PIN eingebe macht das Handy mit der Front und Back Kamera Fotos.
Die Bilder erhalten ihren Dateinamen automatisch nach dem Datum und der Uhrzeit und werden in einem Verzeichnis
mit dem Namen

Handy entsperren

abgelegt.

Bsp. Dateinamen:
Front_15032018_142217.jpg
Back_15032018_142218.jpg

Das löschen der Bilddateinen funktioniert auch.
Mir gelingt es nur nicht im Datei Attachment die beiden Dateien anzuhängen.
Ich habe versucht mit * und ? die Dateien auszuwählen.
Auch wenn ich die Dateien mit dem ganzen Namen eingebe und die Namen mit einem Komma trenne funktioniert das nicht.

Danke für Eure Hilfe. :P

Gruß
frage

User avatar
Autumn-Leigh
Posts: 67
Joined: 15 Mar 2018 19:23
Location: UK
Contact:

Re: gmail

Post by Autumn-Leigh » 16 Mar 2018 12:24

Im not sure if this will work, but i Set mine up like this, The picture i made a variable of {picture_path} and it turns on my data and uploads the picture to google drive, that way if it is stolen, i will still be able to see the picture of the person, in the flow "take picture" make sure "no interface" os checked, you can check "add to gallary" also.
hope this helps
Attachments
Screenshot_2018-03-16-12-19-55.png
Failed Attempts
Screenshot_2018-03-16-12-19-55.png (145.04 KiB) Viewed 11560 times
YouTube Channel - https://youtu.be/fui3RO9EmNU
If anyone wants a shoutout, or has a flow they want me to do, be it theirs or a new one, let me know :)

User avatar
Desmanto
Posts: 2709
Joined: 21 Jul 2017 17:50

Re: gmail

Post by Desmanto » 16 Mar 2018 12:55

@question (kinda weird to mention :)) : Do you use gmail (Mail with gmail) in the flow? Try to attach only one picture first, make sure it works first. What error do you have? Try to add a Condition debug dialog after it, and change the connection to exception. See what is the error message. Most likely it is the file name error.

@Leigh : There is no need to use plugin anymore. I know it is kinda hard to grasp at first because you came from tasker (me too). Automagic already has the Trigger built-in, called Login Attempt. You can use it instead of the plugin, which will add a tiny delay to call external app.
Index of Automagic useful thread List of my other useful posts (and others')
Xiaomi Redmi Note 5 (whyred), AOSP Extended v6.7 build 20200310 Official, Android Pie 9.0, Rooted.

frage
Posts: 43
Joined: 20 May 2017 12:15

Re: gmail

Post by frage » 19 Mar 2018 11:28

Hallo Autumm-Leigh und Desmanto,

konnte mich erst jetzt mit den Tipps von Euch befassen.
Aufgrund dieser Hilfe, habe ich das Problem gelöst. Vielen Dank dafür. :P

Ich habe den Action Typ "Initalisiere Variable Datei Liste verwendet".
In Datei Pattern habe ich den Pfad eingetragen und am Ende des Pfades dann /* eingefügt,
damit alle Dateien des Ordners angehängt werden.
Die Variable {files} verwende ich dann im Action Typ "Mailen mit Google Mai".
Authentifizierung nutze ich Gerätekonto und in "Datei Attchmenst"
habe ich die Variable {files,listformat,comma} eingetragen.

Das funktioneirt jetzt echt super.

Danke für die Hilfe.

Gruß
frage

Post Reply