Script to set up email - General Topics

Hi
With the amount my phone randomly formats itself lately it would be very useful for me to have a script or similar which could set-up my email accounts again. Does anyone know how to do this? I do have Mortscript but do not know how to make it do anything complicated.
Thanks

at45 said:
Hi
With the amount my phone randomly formats itself lately it would be very useful for me to have a script or similar which could set-up my email accounts again. Does anyone know how to do this? I do have Mortscript but do not know how to make it do anything complicated.
Thanks
Click to expand...
Click to collapse
Yeah, I made a few provisioning XML files which contain all my email settings for my 3 accounts using Sashami. Register an account for the forum in the link (or otherwise obtain login credentials) and download the .cab. Install it, and open up Makisu (in the Sashami folder). Follow the wizard to create a provisioning XML file for an email account. When you're done, you should have an XML file which can be imported using tools like XDA User Customization during the initial boot (built into many cooked ROMs), Advanced Config, and Dotfred's Advanced Task Manager (though IIRC you have to rename the extension from .xml to .provxml to import with Dotfred's task manager). You can even make the XML file into a .cab by following these instructions (under "Creating the CAB File"), so you don't have to import it or change to a ROM with XDA_UC. This may seem like a lot of work right now, but you'll be grateful when you don't have to set up your email for the 70th time.

Thanks Dave. Sashimi is brilliant!

Related

Where is the "contacts" database on wm6?

I'm trying to make a contacts list for iTask.
Where is the file where you can read the contacts list on wm5/6?
(And yes, I've searched the forum up and down, and google)
Thanks for any reply
I know that before you wipe your device you can save /device/PIM.VOL file to your storage and then after you restore you can copy this back to the root directory and all of your contacts will be intact.
Good Luck!!
mfrost67 said:
I know that before you wipe your device you can save /device/PIM.VOL file to your storage and then after you restore you can copy this back to the root directory and all of your contacts will be intact.
Good Luck!!
Click to expand...
Click to collapse
thanks! this was what i feared. Is there any program that can backup contacts to xml ? (the best would be invicible)
Not sure about that..Hopefully someone else will have an answer.
I have done it already in SCLPF
Hey mate,
You're at the crossroad I faced. Quickest way is to use .net cf2 in either C# or C++ or VB to access the POOM database. This will also allow you to access the calendar and tasks as well as contacts. This is the easiest way I found to get any information or picture etc from an Outlook Contact. I'm not sure how easy it will be playing around with that VOL file.
Slither2006 said:
Hey mate,
You're at the crossroad I faced. Quickest way is to use .net cf2 in either C# or C++ or VB to access the POOM database. This will also allow you to access the calendar and tasks as well as contacts. This is the easiest way I found to get any information or picture etc from an Outlook Contact. I'm not sure how easy it will be playing around with that VOL file.
Click to expand...
Click to collapse
The problem i'm facing is that I need to import it to flash, and the almost only way to do that is by reading an xml file
Thanks!
EDIT: Have you been using flash?
rhov23 said:
The problem i'm facing is that I need to import it to flash, and the almost only way to do that is by reading an xml file
Thanks!
EDIT: Have you been using flash?
Click to expand...
Click to collapse
Hi
I can write you a dot net application that will export the contacts to xml if you like. Just let me know.
Pete
Pete
Can yopu help me out, I have just got a Palm Treo, it runs WM6.
If lists contact Last Name First. The only way to change this is to change the "File As" option on each contact.
Is there an easy way of doing this .... with code even.
Thanks mate
Jimmy
PimBackUp
It can back up the database an aparently do alot with it on your pc.
WR
simply sync your contacts with outlook and export them to excel.

Importing pop3/mail settings for the habitual flasher

I have searched low and high for the answer to this but cannot seem to find it anywhere.
Is there anything similar to the Cabs for WiFi or even a registry template for quickly importing mail setting after a flash/hardreset? Using Sashimi for instance?
Sorry if this is not directly ROM related, but I suppose it is when you want to quickly get all your emails set up having done a flash/hardreset.
Thanks in advance to any who can help?
You can do this with User Customization in a provisions.xml.
I havent even been able to get my phone to download my mail directly to the phone. I have to use IE to go to hotmail. Which programs are out there so I can enter my name and password and the email is delivered directly to the phone without active sync?!!?
The standard "messages" utility built into the phone seems to do it for me. You set up an account as a pop3 or imap and its just like setting one up in outlook express...
iceman4357 said:
I havent even been able to get my phone to download my mail directly to the phone. I have to use IE to go to hotmail. Which programs are out there so I can enter my name and password and the email is delivered directly to the phone without active sync?!!?
Click to expand...
Click to collapse
email settings
rjcb23 said:
I have searched low and high for the answer to this but cannot seem to find it anywhere.
Is there anything similar to the Cabs for WiFi or even a registry template for quickly importing mail setting after a flash/hardreset? Using Sashimi for instance?
Sorry if this is not directly ROM related, but I suppose it is when you want to quickly get all your emails set up having done a flash/hardreset.
Thanks in advance to any who can help?
Click to expand...
Click to collapse
hello, i used tiermanns Personal OEMizer find it here http://tiermann.net/index.php?optio...d=3:personal-oemizer&catid=1:Desktop&Itemid=3 i used it to create my provisioning XML.
i then used the task manager provided with sashimi and bam, it worked, or you can use uc.
lupe
kb9nvh said:
The standard "messages" utility built into the phone seems to do it for me. You set up an account as a pop3 or imap and its just like setting one up in outlook express...
Click to expand...
Click to collapse
Right, but when i go to add an account after I enter my user name and password it says "select link below to access windows live hotmail account" and has a link that uses IE to get mail. I had it before where i entered my info and it downloaded it for me automatically.
iceman4357 said:
Right, but when i go to add an account after I enter my user name and password it says "select link below to access windows live hotmail account" and has a link that uses IE to get mail. I had it before where i entered my info and it downloaded it for me automatically.
Click to expand...
Click to collapse
Perhaps that's because hotmail doesn't support POP3. Maybe you should use an email account that actually supports the protocol that you are using. It isn't the program's fault....it's hotmail's.
Valtamr said:
Perhaps that's because hotmail doesn't support POP3. Maybe you should use an email account that actually supports the protocol that you are using. It isn't the program's fault....it's hotmail's.
Click to expand...
Click to collapse
Previously hotmail did work on the phone with just a regular POP account.
iceman4357 said:
Previously hotmail did work on the phone with just a regular POP account.
Click to expand...
Click to collapse
Hmm...perhaps I am mistaken then. I know a long time ago they allowed POP3 access through Outlook Express only, then eventually dropped that support. I specifically starting using Gmail because it allowed POP3 (and now IMAP) support and was under the impression that hotmail and yahoo didn't with out their pay services.....but I guess that could've changed in the last several years, so I'm sorry if my previous comment was misleading....that was just the way I understood it to be.
overhaulengines said:
hello, i used tiermanns Personal OEMizer find it here http://tiermann.net/index.php?optio...d=3:personal-oemizer&catid=1:Desktop&Itemid=3 i used it to create my provisioning XML.
i then used the task manager provided with sashimi and bam, it worked, or you can use uc.
lupe
Click to expand...
Click to collapse
Excellent - thanks ever so much
rjcb23 said:
Excellent - thanks ever so much
Click to expand...
Click to collapse
I will be releasing a new app this weekend with the latest SASHIMI release called Makisu.
It runs on your device and will create provisioning XMLs for e-mail and wireless settings. You can then import these directly from the app, or during your SASHIMI setups.
Keep your eyes open for it.
Another option is to take a look at spb backup 2. It costs a few bucks but it restores all of the settings for all mail accounts. It even puts all the mail back in your mailboxes. I sync with two exchange servers and two pop3 accounts so its vital for me to get my mail back up anf running as quickly as possible.
With the new rom upgrade mode it works flawlessly between different rom versions.
I have alson found it handy in custom mode to bakup themes and ringtones for easy flawless swaps.
Then I use bengalihs version of tiermans tierautoinstall for my cabs.
Just my 2 cents
@iceman4357
If you use vista, you might be able to setup hotmail on you computer to download to a windows live mail account and then use emoze desktop version to sync it to you phone. I am fairly sure since the release of windows live mail on vista, hotmail will no longer work with a regular pop3. They did this to get people to use live mail. I know a few people that still have hotmail accounts. I will do some diggin and see if there is a better solution.
bengalih said:
I will be releasing a new app this weekend with the latest SASHIMI release called Makisu.
It runs on your device and will create provisioning XMLs for e-mail and wireless settings. You can then import these directly from the app, or during your SASHIMI setups.
Keep your eyes open for it.
Click to expand...
Click to collapse
rjcb23,
Yeah, you should definitely check this out! I actually just used SASHIMI last night (even without Makisu) and it perfectly provisioned my email account. I used the following link for documentation - in post 3 under "EMAIL2 CSPs" he shows the layout and links to Microsoft documentation as well as a GUID generator.
http://forum.xda-developers.com/showthread.php?t=366337
Bengalih's SASHIMI is now my third favorite sashimi (it's really hard to beat hamachi and toro). If you are a habitual flasher you owe it to yourself to give SASHIMI a serious look.
Valtamr said:
rjcb23,
Yeah, you should definitely check this out! I actually just used SASHIMI last night (even without Makisu) and it perfectly provisioned my email account. I used the following link for documentation - in post 3 under "EMAIL2 CSPs" he shows the layout and links to Microsoft documentation as well as a GUID generator.
http://forum.xda-developers.com/showthread.php?t=366337
Bengalih's SASHIMI is now my third favorite sashimi (it's really hard to beat hamachi and toro). If you are a habitual flasher you owe it to yourself to give SASHIMI a serious look.
Click to expand...
Click to collapse
Thanks!
Yeah, actually Makisu is basically going to create the XMLs that SASHIMI imports (or really Makisu can do it stand-alone). It creates the XML files with user inputted information, and even generates the GUID.
I think there are some similar things out there, but this is the only one I know of that will run on the device itself, and do the whole thing.
bengalih said:
Thanks!
Yeah, actually Makisu is basically going to create the XMLs that SASHIMI imports (or really Makisu can do it stand-alone). It creates the XML files with user inputted information, and even generates the GUID.
I think there are some similar things out there, but this is the only one I know of that will run on the device itself, and do the whole thing.
Click to expand...
Click to collapse
Sounds awesome! Can't wait to see it...and the new SASHIMI 7 release this weekend! The new videos look great - you do amazing work!

Can't delete 'ghost' email accounts

Hi
Something went wrong while restoring a backup using Sprite Backup, and it only partially restored my email accounts. In the TF3D interface, the accounts are visible. But as soon as I tap an email to open it in the WM email program, I directs me to the main Messaging screen. In that screen the email accounts do not show op.
When I try to re-add the account under the same name, I get an error saying the account already exists. I've looked in the registry and file structure to see where WM6 stores mail account information, but was unable to find it.
Does anyone know which files or registry keys I need to delete to make sure all traces of the email accounts are gone?
why don't you try to do a restore again?
Xtreme XL said:
why don't you try to do a restore again?
Click to expand...
Click to collapse
The backup was from when I was running a different rom, that's why it's not working the way it should.
I had the same problem. I wrote simple MortScript.
Delete "\cemail.vol"
Click to expand...
Click to collapse
Place a shortcut to this script to a \Windows\Startup folder and reset. It will have a brand new cemail.vol file when everything boots up. Don't forget to delete the shortcut, or you'll have a brand new cemail.vol every time you boot. It would delete email and sms/mms. After that you can restore your mail one more time.
Problem is in your Sprite Backup and unmark some fields with registry restore ( manual mark fields ). After second restore everything was ok.
Thanks! that fixed it
Perfect fix!
Thanks
I used MortScript to solve the problem. The disadvantage to this is that it wipes out your Txt message history and all your e-mail accounts... all things considered, I'm very happy with this solution.
One thing that tripped me up: When you edit a file in Mobile Word and save it as a text file, it will put a .txt extension on the file, no matter how you tell it to save it. You cannot fix this with File Explorer built into WM6. You will need to either edit the file name with Total Commander or through your computer (via Activesync).
Same Issue
Same issue here, but please How do I write the Mortscript? Any Step by Step guide? This is practically new to me. I just copied what you wrote above into word and create a .txt file?
The ghost email ( 1) on my tab is so annoying
Check out other thread
http://forum.xda-developers.com/showthread.php?t=460772&page=2
used SKTools to remove account
Hi,
this is my first post here but hopefully I can help in this case.
I have had also a problem with my unwanted mail account (WM6.1, TF3D).
This is what I found a while ago. Please take a look at the link below:
http://dsaxman.com/mobile/how-to-delete-an-email-account-on-windows-mobile-6-1/.
I did like an author recommends and it helped! Simple solution, without digging in windows registry.
how do i make a mort script?
do i just put it in a txt doc?
thanks
akp42 said:
Check out other thread
http://forum.xda-developers.com/showthread.php?t=460772&page=2
used SKTools to remove account
Click to expand...
Click to collapse
Thank you All!
I used the mailAccountRepair file from this thread to do the repair, then I was able to see it in the winmo email and delete it.
thanks all!!
I used the mailAccountRepair file and fix it!!!!!!!!!!!1 Thanks!!!!!!!

How to create start menu item for Java program? (i.e. Gmail client?)

I think I've searched the forum pretty well, but i still can't find out how to add a start menu item to my HTC Fuze (Touch pro) gmail client (which is a java app). I've seen in other threads how to set up gmail with the native email client on the phone, but i'd like ot use the actual java gmail client without having to navigate from start menu -> java -> gmail. how do i do this?
also, how do i set the client so it's signed? it always asks me for permission to access the internet when i want to refresh or send a message. how can i sign gmail so it doesnt ask this?
thanks!
first of you ned to uninstall gmail from your midlet manager and then goto its directory and then into the appdb subdir and note the LAST "suite" file (they have a number after them) and then reinstall gmail and then go back to the appdb folder and note the NEW suite file made and then make a duplicate of any lnk in the start menu and then go into its properties and change the location to this
"Storage Card\Program Files\JBed3dMod\Jbed.exe" -run s69_"
of course adjust the above path to MATCH your midlet managers location AND THE SUITE NUMBER
any problems pm me as i will probably forget i posted here
Where can I find the midlet mannager?I installed some java apps and I don't know how to access them again!
Kostas-Pro said:
Where can I find the midlet mannager?I installed some java apps and I don't know how to access them again!
Click to expand...
Click to collapse
Well, most would likely has the word Java in the Start->Program. If you use cooked rom, it might be moved to other folder in Start->Program.
Great thanks! Just FYI to other readers: since gmail was the first midlet i installed (and i'm running ROMEOS latest which starts out with no midlets installed) then in the \windows\appdb folder there was only one suite file set to choose from (a bunch of files all starting with s1_). Thus, I created a link in the "\windows\start menu" folder with following line in the properties (including the quotation marks)
"\Windows\jbed.exe" -run appdb\s1_"
It worked! now when i click this item in the start menu, it brings up gmail. If only i could change the icon...
What about the signing problem? Whenever I refresh Gmail's inbox or try to send an email, it asks me if i'm okay with it being "untrusted". I've found other posts that explained how to use the native email client with Gmail, but I'd like to get the java gmail client to work without the repetitive questioning. How can we tell the phone to let the Gmail midlet do what it wants? (i know i know...i'll go read the wiki
Changing the security permissions
hamx0r said:
What about the signing problem? Whenever I refresh Gmail's inbox or try to send an email, it asks me if i'm okay with it being "untrusted". I've found other posts that explained how to use the native email client with Gmail, but I'd like to get the java gmail client to work without the repetitive questioning. How can we tell the phone to let the Gmail midlet do what it wants? (i know i know...i'll go read the wiki
Click to expand...
Click to collapse
Here's how to deal with the 'trust' issue with Gmail in Java from an article on pdaphonehome.com regarding the Opera Mini midlet. This works the same for the Gmail app.
Skipping the Connection Permission Prompt (Only applies to JBed)
One of the only negatives of using Jbed, over Jeodek, used to be that any time an application wanted to access to the Internet, Jbed would ask twice if you want to allow the action. It will also forget this permission next time you ran the application, so you would have to give permission every time you ran a Midlet that tried to access the Internet. Thanks to forum user g-funkster, a work around for this annoyance has been found!
1.) Copy the file \windows\appdb\selector.utf to your PC (make sure backup this file first in case something goes wrong!)
2.) Remove read-only attribute
3.) Open the file with a hex editor, and find the line
Code:
domain=untrusted, \
Replace the text untrusted with the text tckmax. Add space characters between the x (in tckmax) and the comma (otherwise connection warnings or a nullpointerexception error may occur). The above line may appear multiple times in the "selector.utf" file, each corresponds to a different Java Midlet you have installed in JBed.
Code:
domain=tckmax , \
If hex editing is too blackhat for you, g-funkster has created a desktop application that can do this for you automatically! You can find it here.
Click to expand...
Click to collapse
I used Notepad++ to edit the file and it worked perfectly.

I need the .lnk file for Outlook Contacts

I ran the ClearTemp software and it deleted the .lnk file or whatever it's called for my Outlook Contacts icon. So, I can no longer get into my Outlook Contacts. The icon for Outlook Contacts is gone both in the programs and the Start Menu. How do I get the file back, or create a new file? Where are these files located on the phone? They don't show file extenstions with File Explorer, so it makes it really hard to find anything. I can't even find a search feature to search for files. Thank you for your help and time.
If you did this, it's easy to find this.
Edit: BTW, you need TotalCommander.
Thanks for the information, but I'm still not sure what I'm supposed to do. It's very confusing. I just create a text file called anything I want, like outlook.lnk and I just put "poutlook.exe" in that text file? Then what folder does that file go into? Does it matter? How do I get a link on my, "Programs" desktop to it? I'm really confused. Thanks.
wg5566 said:
If you did this, it's easy to find this.
Edit: BTW, you need TotalCommander.
Click to expand...
Click to collapse
Just look in your windows folder with active sync. Organize by file type, and scroll to the .lnk files. That's where you'll find it, although it may have a different name (check initflashfiles.dat if the naming is weird). Copy to the start menu and rename if needed.

Categories

Resources