direct to inbox - General Topics

I have made a rather simple app for my wm6 device that locks the tmail.exe with a passcode.
i have
System.Diagnostics.Process.Start("tmail.exe", "")
as part of my code that launches on success,
my question is does anyone know the argument for opening direct to "Inbox" the last empty quotes are supposed to handle arguments but nothing has worked thus far, i am fairly new at design so if i left out any info let me know.
i have tried -services "SMS" - open "Inbox"
and variations of those..no luck

Try -service ActiveSync, or whatever the name of the account is.

System.Diagnostics.Process.Start("tmail.exe", "-services ActiveSync")
did not work, at least nothing was launched
lthough it doesn't crash either.
what do you mean by name of the account? sorry...
verizon Samsung sch-i760
with verizon carrier.
standard text message inbox
i have been able to create a shortcut to the inbox but trying
System.Diagnostics.Process.Start("shortcut_i_made.ink", "")
crashes...is there a way to launch a shortcut perhaps that anyone knows of?
sorry for my confusion..

Ooohh! The i760, the phone I started here with! Anyways, try "service" with no "s" at the end. By account name, I meant if you were trying to open a gmail account it would be "-service gmail"

Here we go, just found it, try this instead, you were missing a piece:
"\Windows\tmail.exe" -service "SMS" -open "inbox"

Related

Assigning Custom Actions To Buttons <-- SORTED THIS

Hi
The O2 Active rubbish that comes on the XDA IIs allows you to go straigh to your pop3 inbox via a link in its menu. When I use the hardware email button on the front, it starts up inbox, but it aint my pop3 inbox its the default outlook inbox.
Is there any way of assigning custom actions to a hardware button? Such that pressing the email button pulls up pocket outlook pointing at my pop3 inbox??
Also, whats the best registry editor prog for windows mobile 2003 devices?
Nigel
Found this: http://smartphonedn.com/forums/viewtopic.php?p=2311&sid=792bf7b2b0944c610a5f683878c821e8
But was hoping not to have to write a bl00dy launcher just to get it to point at my inbox!
Nigel
Sorted for anyone who is interested
Hi
Sorted this. For anyone whos interested:
Use activesync to copy the file \Windows\AppButtons\Messaging.lnk to your PC. Edit the file with notepad. You could also edit it on the device, but I prefer a decent keyboard!!
The Messaging.lnk file will read something like:
19#"\Windows\tmail.exe"
Change it to read something like
19#"\Windows\tmail.exe" -service "ServiceName"
The number on the front (in my case #19) should be kept the same as it is currently on your device.
ServiceName could be: Text, MMS, MyPopAcc, blah blah.
There are a load of parameters for tmail.exe by the looks of it. One site that claimed to list them was down/dead.
Save the modified file and copy it back to your device. Now when you hit the 'email' hardware button you'll get the service you mentioned as a default.
You can also stick -attatch on the end i.e:
19#"\Windows\tmail.exe" -service "ServiceName" - attatch
But I found that this did nothing with email. Maybe with MMS etc.
If anyone knows any of the other commands for tmail, pls post!?
Nigel
If, after changing the file in App Buttons it still launches the messaging pointing at the wrong folder, do the following:
Close the messaging app (completely) from settings --> system --> memory --> Running Programs.
Then goto Settings --> Personal --> Buttons, and change button 4 from messaging to some other program. Tap OK, use the messaging button to start that other program, quit said program, go back into Buttons, and change button 4 back to messaging. Try to launch messaging.
It must cache the old info somehow.
Nigel
i believe you'll find the short cuts is set in the registry and doesn't use the program thats selected on the buttons controle pannel item
Nope, it definately uses the stuff in appbuttons! Perhaps these get read and copied to the registry, dunno, but changing the prog in the appbutton shortcut changes what gets launchen when you hit the hardware button.
Nigel
And, if you want to delete the entire crappy outlook/activesync account try removing the appropriate folder (dunno what it's called now, lol) from:
LOCAL MACHINE/SOFTWARE/Microsoft/Inbox/Svc/
edit - Incidentally, the new i-mate ROM always starts the messaging client in the 'last viewed' account anyway.
Chris.
LOCAL MACHINE/SOFTWARE/Microsoft/Inbox/Svc/
Click to expand...
Click to collapse
Dont trash the outlook key in here. If you do then you will indeed, loose 'outlook' folder in the inbox app (good!), but as a side effect, sms notify will also stop working (unit will not make noise and display part of message when sms received) (bad!)
Nigel
19#"\Windows\tmail.exe" -service "Text"
Worked first time for me - takes me straight to my SMS inbox
Cheers!!!!!

NEW: Activate Mail + Send & Receive

I've made a tool to activate email (built-in) and start syncing.
Tested only on WM2003, not sure if it would work on WM5.
Usuage: SyncAccount "MailAccount"
Using this, you can activate email, and sync with the push of a single button
makes life easy ;-)
Program here is delivered as is, use at your own risk.
i'm not gonna make any further improvements, as this suits my own needs as is.
happy mailing 8)
runs on my wizard... very good!
Heimiko: I made a similar app in VJPhoneShortcuts a while back. Did you manage to activate syncing even when the current account has been changed, eg, if the user switches to SMS, have you got it to switch back to email before syncing? I got too busy to figure it out at the time
V
Hai vijay555,
I did manage that, yes, even though SMS account is enabled, it will switch to the email account, and start syncing from there on....
I use your VJDialer app, and I wanted to use email in the same sort of way... couldn't find it anywhere, so.. here ya go ;-)
Good stuff. I'll look into it. I've never used my pda for email, but a few guys were asking for this facility.
V
vijay555:
No need, here's how to:
tmail.exe -Service "MailAccount"
tmail.exe -Sync
call those 2 after each other. Don't use them in a single call, because as soon as you use -Sync, the mail app wont be activated (not brought to the foreground).
so.. 2 * CreateProcess is all that's needed
Nice nice nice!
I was doing it in such a dopey way, as ever.
Is it ok for me to implement this into VJPhoneShortcuts? There's a couple of extensions I want to add, but it's a much neater then the way I was doing...
I'll give you full credit of course
V
Sure... no problem. Cool me being somewhere in those credit lines ;-)
I guess you actualy search for the button on that Doc and send a WM_CLICK to it... ? i was thinking in that direction at first, but then, i knew there had to be a simpler way. If you google for "tmail.exe command line", you'll find some other stuff, as you can see, tmail.exe can already do natively what you do with your phone tools, sending emails, sending sms's, etc. all from command line. (you just need to know how, hehe). But then, you can't ever find this -Sync option... that was trail and error to find out... i tried lots of different keywords, lolz. Weird that its not documented anywhere.
Anyway, use it wisely ;-)
Yes, the original VJPhoneTools were done in the same way through tmail.exe, but I've never used the email so never thought about doing -sync it through the command line. For someone who does everything through the command line, I was so stupid not to think of it
Many thanks.
V
vijay555 one request with your phonetools. Can you give identifiable icons to each function? I have shortcuts on my today but cant distinguish which icon does what. So maybe a mail icon for checkmail? Thanks
VJPhoneShortcuts will be remade shortly.
VJPhoneTools: I think they do have different icons don't they?
V
vijay555, sorry i actually meant vijayphoneshortcuts. The icons are all the same, of a cell phone. I use check email and speed dial and they look the same in my today launcher.
efjay: I'll try to fix the icons shortly. I'm actually just about to throw in a whole load of new features and finally put in WM2003/Wm5 dual compatibility. Heimiko's generous info has given me a reason to finish it, I've been sitting on the almost finished code for so long.
However, it's likely to be only one app, so one icon, but with about 8 functions. So you might have to set up your own icons (if I can find some relevant ones I will). However, have a look at this thread for info on how to set up nice icons etc for your shortcuts.
V
ok, thanks for the link. look forward to the new version.
Heimiko, I use your SyncAccount program and it is great, but I wonder if there is any way to get the email to start syncing without bringing the tmail.exe program to the front as if this happens I dont get any notifications - I run SyncAccount with a scheduler, so the PPC screen isn`t on.
sure, to do that, don't run SyncAccount, run this commandline instead:
\Windows\tmail.exe -Service "MailAccount" -Sync
Doing this will do exactly what you just asked.
g'luck ;-)
Wow as simple as that, thanks to you.
Thanks!
\Windows\tmail.exe -Service "MailAccount" -Sync
is very helpful!
Is there a way Empty Deleted Items along the same lines? In particular, I would like to have a single shortcut that first empties deleted items and then checks the mail in my pop3 account.
The other thing I would like to do is run activesync's connect via bluetooth as a single command, rather than navigating to that item.
I`m not sure if there is a single command to run Activesync via BT, but there is a program called SKSchema www.s-k-tools.com that is like the windows scheduler and will allow you to set up a load of things to run at a regular interval or just when you click an icon, it`s very powerful.
This is what I wanted with the check email in background command.
Note!
You have to enter the shortcut correct with Sync at the end. And correct LetterCase!
\Windows\tmail.exe -Service "MailAccount" -Sync

Text Message issue on Today screen

Apologies if someone has posted this before - couldn't find anything.
I'd like my Tornado/SP5 Windows Mobile 5 Smartphone to only display the words "text messages" when there is an unread message - with outlook mail, if there is an unread message it shows, but if they have all been read it disappears from the today screen.
Don't know anything about changing the registry but think I read somewhere that this will be the solution.
Has anyone got the patience to describe what I need to do?
Cheers
try this:
http://filexoom.com/files/2006/11/7/42820/oldSAP SMSPlugIn Label.cab
you cant change the registry entry manually because it will revert back to the original "Text Messages (0)" value
execute the file i sent and then use space " " as your label then save and hide the application.
It's not perfect yet but i will update it soon.
Thanks for this...worked great to being with but needs re-setting up regularly...look forward to the update you talk about...cheers
this is what i got:
http://oldsap.blogspot.com/2006/12/smsintercept-freeware-smartphone.html
you can add a shortcut link to your startup folder so that it will automatically launch the applications when you reboot.

How to create ShortCut to INBOX, OUTBOX and SENT-ITEMS

HELP! How to create ShortCut to INBOX, OUTBOX and SENT-ITEMS??
I need your help guys, I've tried every possible ways I can but in vain.
The following parameters to "tmail.exe" doesn't seem to work as it should:
30#windows\tmail.exe -service "SMS" -open "Inbox"
I want it to take me directly to my "inbox". Instead, it takes me to "outbox" or even "sent-items" if those were the last sessions I left. For example: I'm reading inside "outbox" afterwards I close messaging. When I tap the shortcut, it takes me to "outbox" and not "inbox" where i intent it to be!
I even tried other variations like (-transport "SMS" -open "Inbox") but no luck.
Here's what I need: A parameter that takes me directly to "Inbox" just "Inbox" and nowhere else. A shortcut to "outbox" or "sent items" is also appreciated.
thanks in advance

[Q] Direct shortcut to compose a draft email

Actually, that title is worded a little poorly. It should probably read: "Direct shortcut to pre-composed draft email"
I would like to make a direct shortcut on my homescreen, which, when pressed will open an already composed draft email, which will include a pre-defined recipient list, pre-composed subject line, and pre-composed body.
I can make a draft email in my default email program with all of the latter information (recipients, subject, body).
I would simply like a way to create a shortcut to this draft that shows up on my homescreen.
Anyone know how I can accomplish this?
---
Phone: Motorola Photon 4g (Sprint) - 2.3.4 base stock rom (ROOTED)
Write a small app that on start, automaticly launches a prefilled email intent.
How would I accomplish this using something like Anycut?
I'm not a developer, so I'm not sure on the exact syntax for this application.
For AnyCut here is what I have so far for "Make Your Own":
Action: android.intent.action.SENDTO
Data: mailto:[email protected]
Type: <leave this blank>
This works and opens a new compose email with [email protected] in the "to:" field.
Now, how would I populate the subject line and body of the email?
When I type on the data line:
mailto:[email protected]
subject:test
body:test
it thinks everything after "mailto:" is the email address.
Can someone help?
bump
I found the app "Email Template Widget" in the market.
It does everything I'd like it to do, but I cannot create a custom widget from it for a specific template. I emailed the dev for a feature request.
That's ok though... this will work for now!

Categories

Resources