AquaMail Forum

English - Android => How do I... => Topic started by: harekrishna on July 05, 2016, 04:45:37 am

Title: Need Tasker to Play Ringtone when Receive Message with Specific Text in Subject.
Post by: harekrishna on July 05, 2016, 04:45:37 am
Sorry for the beginner question . . . but maybe it would help others. . .

I just installed "Tasker" . . . and selected the Aquamail plugin. 

I want Tasker to play a specific ringtone (mp3 file already on the phone) when any email arrives with this text in the SUBJECT     [ Reminder: ]   

When I try to edit the Tasker "EVENT", the Aquamail gives me 5 fields to choose from:  "For which account" (I left this empty), "From" (i left this empty too), "To" (i left this empty), "CC" (i left this empty) and 'Message Subject". . . . where I typed the following   [Reminder:%aqmsubject]

Obviously, I screwed up . . . . because emails with [ Reminder: ] in the subject are NOT triggering the mp3 file to play.

Can anybody set me strait?

Is my [Reminder:%aqmsubject] text string wrong?

And, did I leave out any other "steps"?

Thanks much.

Jim in Toronto
Title: Re: Need Tasker to Play Ringtone when Receive Message with Specific Text in Subject.
Post by: Scott_Miller on July 05, 2016, 04:58:06 am
Sorry for the beginner question . . . but maybe it would help others. . .

I just installed "Tasker" . . . and selected the Aquamail plugin. 

I want Tasker to play a specific ringtone (mp3 file already on the phone) when any email arrives with this text in the SUBJECT     [ Reminder: ]   

When I try to edit the Tasker "EVENT", the Aquamail gives me 5 fields to choose from:  "For which account" (I left this empty), "From" (i left this empty too), "To" (i left this empty), "CC" (i left this empty) and 'Message Subject". . . . where I typed the following   [Reminder:%aqmsubject]

Obviously, I screwed up . . . . because emails with [ Reminder: ] in the subject are NOT triggering the mp3 file to play.

Can anybody set me strait?

Is my [Reminder:%aqmsubject] text string wrong?

And, did I leave out any other "steps"?

Thanks much.

Jim in Toronto
You probably want Reminder:*

Or if the brackets are part of your string, then

[Reminder:*]

Or something similar.

Scott M.
Title: Re: Need Tasker to Play Ringtone when Receive Message with Specific Text in Subject.
Post by: harekrishna on July 05, 2016, 05:08:47 am
Thanks for your reply.

Well, I changed the Message subject field to:     Reminder:*

But the alert mp3 file is not playing.   I wonder if the problem is with my incorrect "Event" settings?

Like I said, I'm totally new to "Tasker".

I will attach 2 screen shots of my "Event" settings . . . maybe this will help you spot my errors?

Title: Re: Need Tasker to Play Ringtone when Receive Message with Specific Text in Subject.
Post by: Scott_Miller on July 05, 2016, 05:56:29 am
Thanks for your reply.

Well, I changed the Message subject field to:     Reminder:*

But the alert mp3 file is not playing.   I wonder if the problem is with my incorrect "Event" settings?

Like I said, I'm totally new to "Tasker".

I will attach 2 screen shots of my "Event" settings . . . maybe this will help you spot my errors?
I saw that you posted a similar question on the Tasker forum, to which I replied. This likely has more to do with Tasker than AquaMail, so let's continue this over there. Besides, you'll get a ton of help from other Tasker users over there, as well.

Scott M.

Title: Re: Need Tasker to Play Ringtone when Receive Message with Specific Text in Subject.
Post by: someone on July 05, 2016, 11:19:54 am
+1
Title: Re: Need Tasker to Play Ringtone when Receive Message with Specific Text in Subject.
Post by: Kostya Vasilyev on July 05, 2016, 08:08:54 pm
Re: Is my [Reminder:%aqmsubject] text string wrong?

Yes.

%aqmsubject is variable that will get filled in by AquaMail from the matching message, you can use this in the action (e.g. show a popup dialog, that sort of thing).

It should not be part of the condition. Please change to "[Reminder: *" (sans quotes), the "*" means "match anything".
Title: SOLVED Re: Need Tasker to Play Ringtone when Receive Message
Post by: harekrishna on July 05, 2016, 11:01:08 pm
Thanks for all who helped. I got it working.  Below are the steps that worked for me . . .

FIRST STEP:
Physically PLUG IN USB CABLE from computer's USB hub to Samsung NOTEBOOK4 cellphone
TRANSFER your RINGTONES from your hard drive (MP3/RINGTONES folder) to the phone's "RINGTONES" folder :

SECOND STEP = CREATE TASKER "PROFILE":
(a) Create a new "Profile" by clicking on "Plus" symbol
(b) Choose "EVENT" - then choose "PLUGIN" -- then select "AQUAMAIL"
(c) SelectType = "REMINDER"  (do NOT check " High Priority")
(d) Choose "MEDIA" then choose "PLAY MUSIC"
(e) Select the MP3 file ringtone you want to play

TIP: In the Aquamail 'plugin' there are just 5 fields (For which account, From, To, CC, Message Subject)
Since I wanted Tasker to play my ringtone only when an email arrived with the subject line word "reminder: " (followed by more words in the subject line), I entered " reminder: * " (WITHOUT THE QUOTE MARKS).  The "asterisk" (*) says "the subject line reads "reminder: " (with more after that can be ignored by Tasker)