How send varialbe to body "Tasker Email Sender"?

Post your questions and help other users.

Moderator: Martin

Post Reply
skom
Posts: 3
Joined: 16 Jul 2017 14:45

How send varialbe to body "Tasker Email Sender"?

Post by skom » 16 Jul 2017 21:15

I'm just getting started with Automagiic and trying to use the "Tasker Email Sender" (as a plugin) to send the "battery_percentage" variable in the email body of this email. Unfortunately, instead of getting a value, I get the word {battery_percentage}. How can I solve this problem?
Thank you in advance for your help :)

@Martin: Nice hollidays! :)

jurkov
Posts: 8
Joined: 07 Jul 2016 20:06

Re: How send varialbe to body "Tasker Email Sender"?

Post by jurkov » 17 Jul 2017 15:14

I have the same output (Martin maybe explain what we do Bad :) )
But you can do it this way?
Attachments
battery.xml
(1.57 KiB) Downloaded 781 times

User avatar
Martin
Posts: 4468
Joined: 09 Nov 2012 14:23

Re: How send varialbe to body "Tasker Email Sender"?

Post by Martin » 17 Jul 2017 19:03

I did not find the plugin with this exact name, could you please send a link to the plugin on Google Play?
You usually have to check option 'replace variables/modify configuration' in action Plugin, otherwise the variables will not be processed.

Regards,
Martin

skom
Posts: 3
Joined: 16 Jul 2017 14:45

Re: How send varialbe to body "Tasker Email Sender"?

Post by skom » 19 Jul 2017 14:23

I have "Tasker Email Sender 4.3.apk" in play gogle is newer version: https://play.google.com/store/apps/deta ... mailsender

User avatar
Martin
Posts: 4468
Joined: 09 Nov 2012 14:23

Re: How send varialbe to body "Tasker Email Sender"?

Post by Martin » 19 Jul 2017 19:12

Hi,

Use action Plugin, select EmailSender from the list of plugins, press configure and enter the desired values.
In the field for the body, you can simply use a regular Automagic-variable like {triggertime,dateformat,HHmmss} or any other variable like {my_variable}. You just have to activate replace variables in action Plugin in Automagic so that Automagic actually replaces the variables.
I've tested with the version of Email Send Tasker Plugin available on Google Play and it seems to work.

BTW: There's also an action Mail with Gmail in case you want to send the mail using your Google account from Automagic without using any plugin (no custom smtp servers supported).

Regards,
Martin

skom
Posts: 3
Joined: 16 Jul 2017 14:45

Re: How send varialbe to body "Tasker Email Sender"?

Post by skom » 20 Jul 2017 07:58

Thank you !
All is working :)
The most important is: "You just have to activate replace variables in action Plugin in Automagic so that Automagic actually replaces the variables."

Post Reply