Execute Script when getting mail with a certain subject - General Topics

Hi,
does anyone know a way for executing a script when a new mail with a certain subject arrives?
Since I'm active in civil protection, I'd like to have a second alarm besides my alarm pager.
I already can send a mail on incoming alarm (i have a zvei/pocsag decoder which sends out an email) which is routed via direct push to my Hermes, so I get the alarm about 1 minute later on my PDA (timing is ok for me at the moment).
I'd like to execute a script when an Alert-Mail arrives (detectable by subject):
* Change Volume to maximum
* Play a wav file
Any Ideas?
Best regards
Marcus

fireball2k said:
Hi,
does anyone know a way for executing a script when a new mail with a certain subject arrives?
Since I'm active in civil protection, I'd like to have a second alarm besides my alarm pager.
I already can send a mail on incoming alarm (i have a zvei/pocsag decoder which sends out an email) which is routed via direct push to my Hermes, so I get the alarm about 1 minute later on my PDA (timing is ok for me at the moment).
I'd like to execute a script when an Alert-Mail arrives (detectable by subject):
* Change Volume to maximum
* Play a wav file
Any Ideas?
Best regards
Marcus
Click to expand...
Click to collapse
Use Qmail, it can be scripted.

Would be exactly what i was looking for if I wouldn't use Activesync, which seems not to be supported by qmail

fireball2k said:
Would be exactly what i was looking for if I wouldn't use Activesync, which seems not to be supported by qmail
Click to expand...
Click to collapse
OIC, so you're syncing mail from the desktop Outlook? Then, do the scripting in the desktop Outlook.

yep thats what i do, like have certain peoples email go into different folders on outlook. via activsync i mark the other folders for sync so that they will mirror on my pocket pc.

Menneisyys: no, i sync with mail2web via Activesync/DirectPush and UMTS Flatrate. I need an instant alert from my phone when I'm on the road - at home, I always have my pager around.
Anyway, it seems like PhoneAlarm will have a feature like that in version 1.60

Related

MortRing - ringtones and SMS sounds per contacts/category

Here's another program in the style of RingtoneX and Caller-ID.
Magician users might already know it, because I started telling about it here. But I think it's a bit too well hidden there, and I'd like to know if it works on other devices as well...
Ringtones seem to work fine on MDAc with a reasonable number of contacts, while I've got a feedback it doesn't work on an MDA II with over 500 contacts. I don't know whether it's because of the device or the number of contacts, so just try if it works for you, and give me some feedback...
SMS notification sounds should work on all devices, but it might need a soft reset to activate the messaging plug-in. This plug-in can be used by other programmers as well: If you create a registry key with <window title>=<window handle> (as DWord) in HKLM\Software\Mort\SMSNotify\Windows, you'll receive a WM_COPYDATA with a string containing "SMS\n<sender>\n<text>" whenever an SMS comes in...
Oh, btw: As all my other programs, this will remain free, but I gratefully accept PayPal donations to [email protected]...
Hi Mort,
would you be so kind to upload some screenshots of your application? I would like to see, how the program's gui is done.
TIA,
BGK
Here you are...
Don't expect too much, it's been made to work for me, not to look pretty...
The call and sms popups are not modified, i.e. the one of Windows is used. I only replace the registry entry for the ringtone resp. sms notification sound...
Your App is great! Are there any changes to Ver. 0.5?
Bubisch said:
Are there any changes to Ver. 0.5?
Click to expand...
Click to collapse
The SMS sound is reset a second after the notification was handled and on exit, so it won't set the most recently used one as default on next startup.
Addionally, there are now three "pseudo" categories for all other numbers: contacts without assigned number (either direct or by category), unknown numbers, and calls with supressed numbers. The sounds for these categories are set to the currently used ones as defaults until the category settings are saved.
Mort, you are just GREAT!
Thanks 8)
It is really amazing specially changin SMS tone :shock: .... Keep it up.... I hope if you could....:
- Include all rings under Windows folder and sub folders cause there is no need to copy all tones in /Windows to /Windows/Rings...
- The ability to set Tones in Storage Card.
- The ability to listen to the Tone before setting it.
- The ability to view the Recent Caller Name not only number...
I will keep testing it and let you know ASAP ... Waiting for your next release , do not be late :wink: ...
alkandery75 said:
It is really amazing specially changin SMS tone :shock:
Click to expand...
Click to collapse
In fact, the SMS tone even was more easy to achieve...
- Include all rings under Windows folder and sub folders cause there is no need to copy all tones in /Windows to /Windows/Rings...
- The ability to set Tones in Storage Card.
Click to expand...
Click to collapse
Both of this is not possible as such, because the Windows call program doesn't support paths in the used registry values. (That's why RingtoneX copies the files of other folders to \Windows\Rings...)
But can can modify the path for the ringtones in the registry. It's stored in the Value "Directory" of HKEY_CURRENT_USER\ControlPanel\SoundCategories\Ring. MortRing uses this value, too (because I use \Storage\Ring).
But currently, MortRing will list ALL contained files of this directory, as I didn't want to limit it too much. Thus, setting it to \Windows would make choosing a ringtone taking quite a while...
The ability to listen to the Tone before setting it.
Click to expand...
Click to collapse
Currently, all I could do would be opening the file, so it's played by WMP or the "Pictures" application (which also plays MMF, MID, and some other audio codecs...). I don't know of a simple way to play anything but WAV directly in my app.
- The ability to view the Recent Caller Name not only number...
Click to expand...
Click to collapse
Technically, that would be no problem, but I think the default "missed calls" list is far better for this. The output's mostly for debugging reasons anyway...
Guys, the most sophisticated gadget I ever had prior to owning the Magician is a Sony Ericsson P800. Judging by how confused I am with the Magician's set message alert tone / ringtone capability as it is now, kindly explain, as you would explain it to a child, how Mort's program works.
Thanks!
casper131 said:
Guys, the most sophisticated gadget I ever had prior to owning the Magician is a Sony Ericsson P800. Judging by how confused I am with the Magician's set message alert tone / ringtone capability as it is now, kindly explain, as you would explain it to a child, how Mort's program works.
Click to expand...
Click to collapse
After installation, the program's in the autostart folder. After a soft reset, you'll see a tray icon that looks like a cell phone.
If you tap this icon, a popup menu appears. The most important entries are "Contacts" and "Categories".
In "Categories" you can assign ring- and sms tones to the contact categories. If a contact has multiple categories, the order of the list in this dialog is used. I.e., if a contact has both "Private" and "Friends", it will take the "Friends" settings if it's in the list prior to "Private".
In "Contacts" you can assign ring- and sms tones to single contacts, thus overriding the category settings. The currently used category ringtone (or "*other contacts*") is shown there if no specific contact ringtone is set. To remove a contact ringtone (and this way restoring the category setting), press the fitting "X" button ("X"=remove). It's only activated if a contact ringtone's assigned.
Its really a great program, very simple to use, and not complicated at all 8)
Thanks for the great work, Mort
What you've done is really something cool 8)
Hmmm so after 500 contacts we should start deleting HAHAHHA I think this is not such a big issue and with your skill you'll probably figure it out. So the best of luck Mort. Great App... BTW I am using v0.5d with 445 Contacts
Hey Mort
This is a great program.
I am using it on my XDA Mini and it's so much better than the CallID program that comes with the phone.
Good work.
Mort you are great.
I now use this, MortSaver and MortPlayer!
Whats the latest version of MortSaver by the way?
Timmeh said:
Whats the latest version of MortSaver by the way?
Click to expand...
Click to collapse
b32.
It now uses the SMS notification of MortRing, which should improve stability in this area a lot...
Mort,
Great idea, and certainly easier to use than Photo Contacts. Only issue I've noticed on my Mini is that MortRing does not show certain people in Contacts list (in MortRing), and the ring tone seems to be incorrect during the call (it uses one a few categories down), whereas it is correct in the Contact list. I have under 300 contacts, but some may have multiple entries, which may cause it to exceed 500 I suppose.
Any fixes?
BTW, you don't by any chance have an offspring named Susan, do you?
PH said:
Only issue I've noticed on my Mini is that MortRing does not show certain people in Contacts list (in MortRing),
Click to expand...
Click to collapse
That's strage... Are they shown if you "Search" them?
and the ring tone seems to be incorrect during the call (it uses one a few categories down), whereas it is correct in the Contact list.
Click to expand...
Click to collapse
If the correct one is shown in the "Recent call" message of MortRing (popup menu), it's probably the timing problem. I don't have a good and working solution for that currently... It seems like the only way would be to kill and restart the system's call program, but that's quite risky - if something goes wrong, you won't notice the call at all...
BTW, you don't by any chance have an offspring named Susan, do you?
Click to expand...
Click to collapse
Not in RL...
hey is it possible to update this program so it does not unload itself from memory everytime i launch another program or run a backup (stop processes option is turned off). having to restart the option manually is frustrating.
i have a PDA2K with 30 MB free with Rom 1.40
Eddieh31 said:
hey is it possible to update this program so it does not unload itself from memory everytime i launch another program or run a backup (stop processes option is turned off). having to restart the option manually is frustrating.
Click to expand...
Click to collapse
In theory, it shouldn't be stopped as it is. Either something's going wrong on your system, or your free memory is very small...
Are you sure it's really unloaded? Hidden windows aren't shown in most task lists. As long as the tray icon is visible and works, all is fine...
Anyway, here's a version which ignores WM_CLOSE, which should help in most "automatically closed" cases.
It also includes another approach to use lineSetAppPriority. Please tell me whether it works or if you get additional "unknow" entries in the call history again...
Mort said:
PH said:
Only issue I've noticed on my Mini is that MortRing does not show certain people in Contacts list (in MortRing),
Click to expand...
Click to collapse
That's strage... Are they shown if you "Search" them?
Click to expand...
Click to collapse
Yes, they show up in a search, but not in list.
Mort said:
and the ring tone seems to be incorrect during the call (it uses one a few categories down), whereas it is correct in the Contact list.
Click to expand...
Click to collapse
If the correct one is shown in the "Recent call" message of MortRing (popup menu), it's probably the timing problem. I don't have a good and working solution for that currently... It seems like the only way would be to kill and restart the system's call program, but that's quite risky - if something goes wrong, you won't notice the call at all...
Click to expand...
Click to collapse
No, the recent call list the wrong tone as well. The funny thing is that it's a tone that is use for a totally different category; if it had not been recognised, it would have played a different tune.

Notifications for emails in folders other than the inbox.

I've been looking around for some type of software (since WM5 and WM6 don't seem to have the ability built in) that will let me know when I've gotten an email in a folder other than my inbox.
All of the people in my office have separate folders, and all of their email is sorted into their respective boxes automatically in a server-side rule. I'd always have to manually check those folders in windows mobile (I've got an 8125 running XDA Mobile 6 r4) every time I looked at my phone.
While searching around I found a software package called watchflag (www.watchflag.com or m.watchflag.com for the direct download). It didn't have this option at first, but I asked their support about it and they actually wrote it into the code! It'll play different notifications depending on who it's from or what the subject line is, and it checks all folders, including subfolders (just be sure to follow all of their directions!). So if you've been looking for something to alert you on new email in subfolders (the boss [or the wife] emailing you and you have a separate folder for them), this software will work great.
Just wanted to spread the word as I looked high and low and haven't found anything else that does this out there!
thanks for the post, nice ap. probably shouldnt put your email in plain site like that[username]
I've been waiting a long time for this! Thanks!
Looks interesting. I'm looking for something subtley different - I use FlexMail to access a private IMAP account and I'd love to find something which hooks the standard notification process, so, for instance, my HTC Home new mail count will increment for mail received in Flexmail/IMAP. (At the moment I have Outlook mirroring the IMAP account and checking for mail every 5 minutes to flag new arrivals, but that's wasteful of resources...)
Does anyone know of something that allows you to hook the standard notification procedures for custom events?

[APP] riotRE: React to sms and missed calls

General Idea: Enable your phone to React to sms messages and missed calls. Running rules you set up for contacts and showing custom notifications or by running scripts.
Use Cases:
* Sleeping through late-night pages from work? Set the phone to just keep vibrating for work sms.
* Don’t hear missed call messages? Set them to repeat..
* Phone stolen? Send it an sms to run a script to retrieve gps location.
* Phone lost at the house and ringer on silent? Send it an sms to run a script to turn on ringer.
* Family emergency? Let them text you 911 to have the phone vibrate like crazy.
Looking for general feedback, feature requests, bugs
Up on the Marketplace search for riotRE or just "riot"
How about repeat notifications for email as well? I've been looking for an app that does it all, similar to AlarmPal for WM but for Android. Just got the Droid X today and looking for a solution.
please do it for email! An make a option for different alarms based on special words in the mail.
It shouldt run with htc email client because of exchange email!
madasczik said:
How about repeat notifications for email as well? I've been looking for an app that does it all, similar to AlarmPal for WM but for Android. Just got the Droid X today and looking for a solution.
Click to expand...
Click to collapse
Gmail Notifier does this
aiewolf said:
Gmail Notifier does this
Click to expand...
Click to collapse
Yeah I'm using Gmail Notifier atm, but you can't do filters like this app can for SMS/missed called. That additional option would be pretty awesome.

Looking for an App for Gmail notification from a specific email address

Hi,
Looking for an App that will force a loud ringtone (even when on silent) when an email arrives (into Gmail box) from a specific email address (or addresses).
Basically a 'prioiry email' type application. I have had a nosey round the market and various apps seem to offer partial results but nothing concrete.
This is needed for overnight support at work - to make sure that any incidents wake up the on-call guys
in other words it needs to be a pretty stable app
Any thoughts ?
https://market.android.com/details?id=org.hubris.gmailnotifierpro&feature=search_result should be the solution, you'll need to set up a rule in gmail to put the mail in a certain label and then use this app
You might also be able to do something like that with Tasker. I know it is possible to trigger alarms and other changes/activities with SMS messages, so email may be as well.
Thanks Guys .... Ill have a tinker with both

[Q] Looking for Android email client with rules and notifications

I am receiving dozens emails daily from different automated processes. I hate having to check my mail every X minutes and scroll through the list of all messages (I currently use K9 mail).
What I am looking for is email application (paid is fine) that can do this:
1) If email has high priority play sound I select (possibly until I manually acknowledge alarm)
2) If subject or body contain specific sub-string play sound I select (possibly until I manually acknowledge alarm)
Does anyone know of Android email client compatible with CM 7.1 that can do that?
JoeSchmoe007 said:
I am receiving dozens emails daily from different automated processes. I hate having to check my mail every X minutes and scroll through the list of all messages (I currently use K9 mail).
What I am looking for is email application (paid is fine) that can do this:
1) If email has high priority play sound I select (possibly until I manually acknowledge alarm)
2) If subject or body contain specific sub-string play sound I select (possibly until I manually acknowledge alarm)
Does anyone know of Android email client compatible with CM 7.1 that can do that?
Click to expand...
Click to collapse
Check out maildroid
https://play.google.com/store/apps/details?id=com.maildroid&hl=en
has all the features you want..
pratik_193 said:
Check out maildroid
https://play.google.com/store/apps/details?id=com.maildroid&hl=en
has all the features you want..
Click to expand...
Click to collapse
Thanks, I've been using it since July 2013. Exactly what I was looking for. Worth every $.

Categories

Resources