Release rk-SMS Switch: Possible ‘Push LIKE mail’[Updated 27 May 2009] - Windows Mobile Development and Hacking General

Here is my latest application SMS Switch which can trigger a command line based on the SMS received.
Built with the idea of ‘Push LIKE mail’ where the device gets the SMS notification on ‘New mail’ from your email service. rk-SMS Switch intercepts the SMS and based on the SMS sender and/or message text executes the command line (such as \Windows\tmail.exe) to synchronize the emails.
Required:
Your device is able to synchronize the emails using pocket outlook.
Your device receives the SMS notification on new mail message.
Uses:
Push LIKE mail
Not wasting bandwidth for keep checking the server at regular intervals.
Saving the battery since you do not need always on gprs.
If you have multiple email accounts and want to make use of wifi network etc, then you might want to check up my other application rk-OSR which has support for command line execution.
This is just an idea and initial version. Let me know if you guys like it.
(Updated latest working version 1.0.4)
Version 1.0.4
Supports square screens(320 X 320)
Version 1.0.3
Now the triggerring SMS are automatically removed from your inbox! All normal SMS will only appear in the SMS inbox.
Now the application can be activated by the menu short cuts etc. No need to go to today screen. New option added to put it to tray or not.
Not tested much as I do not have SMS plans to play with each SMS i send to test get charged
Version 1.0.2 Hotfix
Bug fix: Please do not use version 1.0.1 which has a issue to sync up outlook and unusable.
Version 1.0.1 Updates
Separate tabs added for command line OR Outlook use.
If using the command line to invoke rk-OSR then timeout option added so that if multiple sms received only one the command line is executed(based on the timeout)
If want to sync up only one account then use the 'Outlook' option and only configure the 'Outlook' tab.
If using outlook show/hide outlook option added.
Since I am using Windows Live Push mail I am not using this application so you will be the tester!
If you like the application please show your support by donation on Paypal
Download from here

thank again great work

This is a great concept. I don't need it, as I don't push email to my phone, but I might now with this great program.

great program! if only i had data plan, so sad

How does this work?
I tried to run it, and nothing happened. I keep clicking the icon it placed in my start menu, and I can't figure out how to configure anything.
This sounds like a great solution, if it works that is...
It needs some documentation!
EDIT: found it on the today screen. Gosh, I wouldn't have known to look there!
Now, my question is how to manage the incoming sms it creates... If I receive a bunch of emails, I now have a bunch of SMS messages cluttering up my inbox. Can anyone think of a good way to hide the incoming SMS and silently delete it?

Dishe said:
Now, my question is how to manage the incoming sms it creates... If I receive a bunch of emails, I now have a bunch of SMS messages cluttering up my inbox. Can anyone think of a good way to hide the incoming SMS and silently delete it?
Click to expand...
Click to collapse
Yes, I know the SMS needs to be cleared, Hopefully in the next version.

thank youuuuuuuuuuu i like it

tytnguy said:
Yes, I know the SMS needs to be cleared, Hopefully in the next version.
Click to expand...
Click to collapse
Yeah, cuz that extra step sort of kills the whole convenience of it...
what I *used* to do when I wanted to save battery power, is forward my gmail to my sms address, and when I saw the first 160 chars with my sms, I'd delete it, go over to outlook and fetch new mail.
With this, at least I don't have to actually click fetch new mail, but it still requires manual deletion, so its not a complete solution yet. :/
looking forward to the next version then...
By the way, how do u get sms notifications for your email? Do you just forward a copy of your email to your sms address? Because if doing it that way, how do u tell the difference between what is coming from your email and what is just something someone sent to your sms directly?

if someone sends you an sms, most likely they will send it through a phone number. if forwarded from an email, the sender will not be a phone number, most likely an email address or some other sender info that is separate from a standard phone number like you would get from a normal sms.
I think that's how it works.
I currently do the same style as you. have gmail forward me an sms of the email message. if it looks important i go to outlook and download the entire message.

Dishe said:
... how do u get sms notifications for your email? Do you just forward a copy of your email to your sms address?
Click to expand...
Click to collapse
Well, For me I use windows live so actually I do not need it . But I thought it might be a battery saver so developed it.
Dishe said:
...how do u tell the difference between what is coming from your email and what is just something someone sent to your sms directly?
Click to expand...
Click to collapse
The field 'From' contains... Should have a partial email address... May be @Gmail.com(I am not sure about how you get emails forwarded, check the text message from address and set it)
You could also use 'Message' Contains option to check only if there is a predefined text in the message.
To use either of the two options use 'OR' option.

tytnguy said:
The field 'From' contains... Should have a partial email address... May be @Gmail.com(I am not sure about how you get emails forwarded, check the text message from address and set it)
You could also use 'Message' Contains option to check only if there is a predefined text in the message.
To use either of the two options use 'OR' option.
Click to expand...
Click to collapse
ah, see gmail is good enough to leave the message intact exactly as it is recieved, original sender and all. So, as I said, there's no way to tell it was forwarded from gmail at all.
Maybe what I should do then is forward to hotmail or something that DOESNT leave everything intact, and from THERE forward to my inbox... a bit backwards...

yes i agree. gmail is good in that they are generous enough to convert the email address to only showing the Sender's name. normally this is appreciated, but in this case, it makes things a bit more complicated as now like Dishe said, it is impossible to distinguish between a normal sms and one being forwarded by gmail.
--
EDIT: I may have a work around. When GMAIL forwards an email to your phone with an sms notification, the sms contains the text "FRM:", "SUBJ:", "MSG:" within the body of the SMS as part of the actual text message.
The program lets you set a filter for the FROM field and/or the MESSAGE field. So using the program, you can put the filter to either one of the three "FRM:", "SUBJ:", "MSG:" instead of the default "@". This would eliminate the need to know that it was forwarded from GMail at all.
This would solve the problem because regular SMS when sent does not show the text "FRM:", "SUBJ:", "MSG:" in the body of the sms. in theory it looks like works, i havent tested it. i installed the program, can you please let me know what is the command line argument to have it send/receive?
Right now i have the command line sent to windows/tmail.exe and it just opens the email prog. I guess i need the argument too to have it actually send/receive.

NguyenHuu said:
...I may have a work around. When GMAIL forwards an email to your phone with an sms notification, the sms contains the text "FRM:", "SUBJ:", "MSG:" within the body of the SMS as part of the actual text message.
The program lets you set a filter for the FROM field and/or the MESSAGE field. So using the program, you can put the filter to either one of the three "FRM:", "SUBJ:", "MSG:" instead of the default "@". This would eliminate the need to know that it was forwarded from GMail at all.
Click to expand...
Click to collapse
Nice suggestion NguyenHuu!. It should work as you suggested
NguyenHuu said:
... can you please let me know what is the command line argument to have it send/receive?
Right now i have the command line sent to windows/tmail.exe and it just opens the email prog. I guess i need the argument too to have it actually send/receive.
Click to expand...
Click to collapse
Try the cammand line as follows
Commanline ----> \Windows\tmail.exe
Arguments------> -service "Gmail Account Name" -sync
Where "Gmail Account Name" should be the name of your account as typed on the pocket outlook and double quotes are required.

it worked! i tested it three times.
1. sent regular sms via a IM application on PC (AIM).
2. sent SMS via another cell phone.
3. had email forwarded through gmail to phone
i used FRM: for FROM contains, and SUBJ: for Message contains. I chose teh "OR" option.
worked as planned. the first two regular sms was sent without activating the inbox syncing. the third time when gmail forwarded the email to my phone sms, since it contained the field: FRM:", "SUBJ:", "MSG:" it automtically sync my inbox.
one thing though, it automatically syncs the inbox which is great but it does so in the background so you still need to go to the inbox then go to the message to read it. is it possible to make it so after it syncs, it opens the actual inbox so you can see your list of unread emails? maybe through adding to the argument?

NguyenHuu said:
it worked! i tested it three times.
1. sent regular sms via a IM application on PC (AIM).
2. sent SMS via another cell phone.
3. had email forwarded through gmail to phone
i used FRM: for FROM contains, and SUBJ: for Message contains. I chose teh "OR" option.
worked as planned. the first two regular sms was sent without activating the inbox syncing. the third time when gmail forwarded the email to my phone sms, since it contained the field: FRM:", "SUBJ:", "MSG:" it automtically sync my inbox.
one thing though, it automatically syncs the inbox which is great but it does so in the background so you still need to go to the inbox then go to the message to read it. is it possible to make it so after it syncs, it opens the actual inbox so you can see your list of unread emails? maybe through adding to the argument?
Click to expand...
Click to collapse
The problem that I mentioned before was that ALL EMAIL sent to [email protected] will have FRM:, SUBJ:, MSG in the body, whether it comes from gmail or not.
Sometimes, if I'm at my desk and want to remember something, I'll send an email to my phone's sms address. Also, I have freinds with data plans and no sms plans who email to sms ([email protected]) all the time.
Your solution could not differentiate between those emails sent purposely to an sms address versus ones meant to trigger syncing.
Right now, its not a big problem yet since the app doesnt delete the trigger sms. But at the same time, I hate having to clear two independant inboxes of new messages now (both email and the sms trigger need clearing), so I need the function to remove the trigger after it syncs eventually.
If the email wasnt supposed to be a trigger, you can understand why this may prove problematic.
hmmm...

NguyenHuu said:
great program! if only i had data plan, so sad
Click to expand...
Click to collapse
I Know! Outrageous prices, to put it mildly.

xd1936 said:
I Know! Outrageous prices, to put it mildly.
Click to expand...
Click to collapse
heh, mine's free. Not to brag or anything, but Sprint over here in the states has killer 3G data plans. I'm just looking to maximize my meager battery life.
EDIT: By the way, TyTnGuy, I went to set up a hotmail/windows live account so that I could try forwarding email THERE and then have THAT forward to my sms with the @hotmail account in the header, but guess what? Live/Hotmail doesn't support forwarding AT ALL!!
So, it looks to me like you couldn't possibly have gotten this to work yourself... What are you not telling us?

he said he doesnt need the program since he uses live mail which should have its own pushlike mail in wm. he creating the program for people who may need it, and specifically cited gmail in his example. i think haha.
i am still trying to figure out if there is a commandline argument that opens up the inbox after it syncs. that's a really good thing to have i think. right after you get the notifications, the inbox opens and you can see all your unread email.
i am about to set up a dataplan, not just for this but for other business, and so that is why, despite my earlier comment about not having a dataplan, i am so interested in it now haha. better then polling every X-minutes indeed.

sorry to bring this back up. anyone happen to know the command line argument to open up inbox?
this is the current argument that makes it sync when you get a sms notification: service "Gmail Account Name" -sync
that works fine, but it does so in the background. I was hoping there is more to the argument where after it syncs it opens the inbox for you. or it open inbox then sync is fine too

NguyenHuu said:
sorry to bring this back up. anyone happen to know the command line argument to open up inbox?
this is the current argument that makes it sync when you get a sms notification: service "Gmail Account Name" -sync
that works fine, but it does so in the background. I was hoping there is more to the argument where after it syncs it opens the inbox for you. or it open inbox then sync is fine too
Click to expand...
Click to collapse
I am working on a next version I will do something to support the above request.

Related

how can we find out which email address is mapped to SMS?

I'm told that every device supporting SMS has an email address that can receive txt messages. Something like : [email protected]
I'm on Tmobile, and would like to know that email. Could a guru lead me in the right direction?
Re: how can we find out which email address is mapped to SMS
mdaexecfan said:
I'm told that every device supporting SMS has an email address that can receive txt messages. Something like : [email protected]
I'm on Tmobile, and would like to know that email. Could a guru lead me in the right direction?
Click to expand...
Click to collapse
I myself used T-mobile Mobile email. Basically this is a service that when people email your address you receive it as a text message. From my experience of this service you are charged 10p for every text received and this is not part of any allowances you may have. It usually only send you one sms of the first few words from the email.
I assume this is what you mean, see the link below for official details of the service...
http://www.t-mobile.co.uk/Dispatcher?menuid=phones_tfe_me
In my opinion its to be used wisely and the address given to only inportant people who cant text you via a mobile phone.
Thank you for your reply. Sadly this does not seem to work very well. I had it working yesterday but today no matter how many emails I sent my phone never receives the SMS.
This is really disapointing as I'm using it to monitor the status of servers.
hi.
not familiar with t-mobile but I guess all operators are somewhat similar.
I use vodafone and the email address is connected to a standard mailbox which is reachable through a web browser. in order for the incomming mails to generate a sms I had to activate it in the same portal, I was also able to create rules on which mail that should be forwarded as an sms.
hope this helped.
br, charlie
Try something like this:
[email protected]
k
nope, no luck, it's very strange, that email to sms feature was working yesterday night, and today nothing.
Get the web'n'walk add-on, an account with mail2web and the AKU2 rom to enable push email. Then just email your mail2web address instead of your phone number, if a server has a problem then remotely administer it from your MDA PRO using terminal services.
Thanks for all the responses so far. I thought I'd give you a small update. Yesterday I was testing this further. My phone was receiving SMSes from other networks immediately, but none of the [email protected] made it through.
Then this morning, I received 28 text messages in one go. All at the same time.
Obviously the routing they use for the [email protected] mobile email option is cheap and unreliable.
So I've bought a few credits of an email2sms gateway, will let you know if that performs better.
Shuflie, regarding the AKU2 account, I got push email from 4smartphone - but I was under the impression that required the GPRS/3G connection to be always on on the phone? Please do correct me if I'm wrong.
Right here's the follow up as promised.
I ended up signing for sms2email. I didn't know what to expect but it turns out to be very reliable. They deliver sms super super fast, which is what I need for server monitoring.
Seems convenient, and you can use distribution lists for SMSs, meaning you don't have to create dozen of account in your monitoring software just for the purpose of ringing everyone. Apparently you can also SMS BT lines, which in turn will read the message text-to-speech if the recipient doesn't have an SMS-compatible handset.

sending sms to multiple contacts

hey everyone, does anybody know how to send a sms messege to multiple people without having to add one recipient everytime? is there even a way to begin with?
rs0cal said:
hey everyone, does anybody know how to send a sms messege to multiple people without having to add one recipient everytime? is there even a way to begin with?
Click to expand...
Click to collapse
Hi
Probably the easiest way to do it is with an app called Power SMS by Trinket Software. It's an app you need to pay for but it does other things such as scheduling SMS's and producing reports. If you just wish to send an SMS to specific groups you can use a program call GroupSMS this is freeware. You have to set the groups up in outlook on your PC but it's free and works for me.
Hope this has helped
such tasks usually come on common hollidays to me, i.e. known dates. so i use my laptop for multi-sms from home. i use efficasoft mobile express.
sbarts said:
Hi
Probably the easiest way to do it is with an app called Power SMS by Trinket Software. It's an app you need to pay for but it does other things such as scheduling SMS's and producing reports. If you just wish to send an SMS to specific groups you can use a program call GroupSMS this is freeware. You have to set the groups up in outlook on your PC but it's free and works for me.
Hope this has helped
Click to expand...
Click to collapse
With groupsms, you can also select individual contacts by checking the box, not necessary to create groups. you can find the program here
http://www.freewarepocketpc.net/
all i do is in the "To:" coloumn when writing a SMS, i write out the contacts name and it will show their number at the bottem of the screen as you type and select the contact. then i start to write the next contact name and select them and so on. hope this helps

[Photo Sending] Is there a program thats REALLY useful ??

I was wondering if there is a program built in the HTC that can send photos in 1 click to the assigned emails.
For example : I take a picture, go to send - email, and thats it.
The software automatically sends the picture to any assigned emails.
On my previous N97, I had a program called PixelPipe that can do that. But since the HTC triumphs over the N97, I feel that it can do that without the fuss of using an external program.
If its not possible, what program does that ?
You can do that with the camera.
Take a picture, and when the menu bar appears, click the envelope
Thanks for replying
Yes im aware of that feature, but thats exactly why I was referring for (implied actually)
I want a way to click e.g. Send by Email => It sends to all assigned contacts directly
The option you are referring to, I have to add the emails manually, PLUS I must have an email assigned to the phone.
So any ideas ?
ZaZu90 said:
Thanks for replying
Yes im aware of that feature, but thats exactly why I was referring for (implied actually)
I want a way to click e.g. Send by Email => It sends to all assigned contacts directly
The option you are referring to, I have to add the emails manually, PLUS I must have an email assigned to the phone.
So any ideas ?
Click to expand...
Click to collapse
Sorry - you've lost me there. Of course you have to have an email account on the phone, and of course you have to enter email addresses (or names, if they're in your contact list with email addresses assigned).
No phone in the world will have native functionality to send emails without you first setting up an email account, and to suggest you want to send emails without telling the phone who to send them to is ridiculous.
Either I've completely misunderstood you or that request is ludicrous (no offense, but it is!)
Hmm I think I wrote a rather confusing description
I remember in Pixel Pipe you had to register using your email, so yeah either way you must have your email registered, my bad.
But other than that here is how it works :
You open the program
You add a list of emails you want to send to
Take a picture
Press " SEND BY EMAIL "
The software comes in and you click your account name
The software sends the picture to emails you already registered to them before
I hope this makes it clearer
ZaZu90 said:
Hmm I think I wrote a rather confusing description
I remember in Pixel Pipe you had to register using your email, so yeah either way you must have your email registered, my bad.
But other than that here is how it works :
You open the program
You add a list of emails you want to send to
Take a picture
Press " SEND BY EMAIL "
The software comes in and you click your account name
The software sends the picture to emails you already registered to them before
I hope this makes it clearer
Click to expand...
Click to collapse
Okay, I understand now. I just don't see why that's any better than the native functionality of the phone as it stands.
You open the camera app
You take a picture
You press send
You select email type
You enter email addresses
It sends an email
It's a very straight-forward process. I guess not many people would want to send picture after picture to the same group of people. (I'm not even sure the group of people would want it either lol).
If you really want the application you mentioned earler, you're better off requesting that from the developers. The only close alternatives out-of-the-box are things like facebook or twitter uploads.
Trying to do something similar to the BBM (black berry messenger) .. Friends share pictures in an instant, one click.
Since I dont have a blackberry, I send by email, so I just wanted a faster way to send pictures rather than typing the same email over and over again.
Have you tried using the "Groups" tool in the HTC Contact application? Not sure if it can do e-mail or just phone numbers since I'm not using it myself.
I dunno about the Groups tool, going to check it now.
But I found a good thing about HTC, thats why I love this phone.
If you assign someone with an email in Contacts, then by typing the first letter (or first few) in the " TO : " Field, the name will pop instantly, saving time from typing it all !!!
So its :
*take a picture
*press mailbox sign
*choose email
*type first letter
*choose contact
*send
Love it
But what is the groups tool you mentioned pphuck ??
ZaZu90 said:
But what is the groups tool you mentioned pphuck ??
Click to expand...
Click to collapse
contact tab -> all contacts -> third icon "Groups"
my guess is that you can create a group of people and then use this group for your photo mail, but i haven't tested it myself
Not sure how that would work though, because you are supposed to enter contacts' emails in "Send To" field
ZaZu90 said:
Not sure how that would work though, because you are supposed to enter contacts' emails in "Send To" field
Click to expand...
Click to collapse
i would presume that you could enter the name of the group as a contact
I just tried that, didnt work.
It sounds like a great idea though, it should be implemented !!

Texting an Email Address Issue

So my Girlfriend is living in japan for now and she gave me the handy email address that is linked to her phone(blahblah at i.softbank.jp) so i can text her without getting hit with international rates... but the problem is, when i text her from my phone in handcent and the stock messaging app it sends as a MMS... which is annoying because when she replies it sends a lot of sprint mumbo jumbo with it instead of just the text she sent. is there a way to stop the phone from automatically changing my text into a MMS when sending a text to an Email Address??
I don't know the answer to your question, but could I offer suggestions?
You didn't say what kind of phone she has. Is it android? If it is, you could get her a gmail account and use google talk. Another idea could be to have both of you open an account with someplace like msn, aol, icq, yahoo, etc and just use the im program that's on just about every phone I've seen. I would think that way wouldn't rack up international charges.
I'm sure there are other possibilities to communicate relatively quickly without extra charges.
or just use gmail to text the number
or use the google voice app to text/email the number
goodelyfe said:
or just use gmail to text the number
or use the google voice app to text/email the number
Click to expand...
Click to collapse
thanks for the suggestions but... it seems like using gmail wont be as instant since i would have to refresh the app every minute just to see if there was a reply and then with google voice i cant send a text to an email address and sending a text directly to her number wouldn't work because she'll have to break the bank to reply to me since the number is still a US number.
i mean holy *&[email protected]
is a refresh too much to ask for? lol guess you really dont wanna talk to her THAT bad
Internet instant messaging programs don't, or shouldn't, care where on the earth you are as PNG as you are connected to the net.
As for the refresh issue, I'd think it would almost be instant. Maybe a minute or two at the most normally. Your phone does need sync on for your gmail account for the email to come in almost instant
ace27 said:
but the problem is, when i text her from my phone in handcent and the stock messaging app it sends as a MMS... which is annoying because when she replies it sends a lot of sprint mumbo jumbo with it
Click to expand...
Click to collapse
Are you sure that it's your phone that is sending the MMS?
Her carrier in Japan could be converting the email to MMS to send to her phone, and as such, she replies in MMS.
ace27 said:
it seems like using gmail wont be as instant
Click to expand...
Click to collapse
Gtalk.

Bank of America text alerts

When I log into my BofA account on my computer and try to get text alerts, it's always undeliverable. I am able to receive email alerts but I want to receive additional text alerts about my account balances and stuff.
Is anyone else having this issue?
no idea about BOA. Chase/Wamu works great.
sp00fy said:
When I log into my BofA account on my computer and try to get text alerts, it's always undeliverable. I am able to receive email alerts but I want to receive additional text alerts about my account balances and stuff.
Is anyone else having this issue?
Click to expand...
Click to collapse
I checked my BofA account and have my phone setup with 0 undeliverable messages...
wluther said:
I checked my BofA account and have my phone setup with 0 undeliverable messages...
Click to expand...
Click to collapse
Hmm must be something wrong on my end.
I never get any text alerts from Bank of America and I also try to get text notifications on amazon on when my packages are shipped and I never get those either.
Can't help you with the BofA issue cause I just use their app.
You can try package buddy for your tracking requirements. I can't link it cause I need like 8 posts so you might have to search for it in the marketplace or google "package buddy".
Thanks for the suggestion Roqueez. The text alerts are just a minor thing. It would be convenient if it worked but no major problem if it doesn't.
I also use the official BofA app but I'd like to be able to be notified via text about my balances and such without needing to log into the app.
And for tracking packages, I use this app called Parcels which I'm pretty sure is the same thing as package buddy from the looks of the screen shots.
But yea, I was just seeing why I can't receive text alerts from certain sites.

Categories

Resources