PDA

View Full Version : where are mailsettings and/or hosts-file stored?


V J
2nd December 2006, 01:51 PM
Hello,

I'm trying to figure out where the mail settings (in particular the SMTP server) is stored. I was thinking of using MobileProfiler to create different profiles, which I could use to change my SMTP server: if I connect via wifi, I need a different one than if I connect via gprs.
With TotalCommander, I searched through the registry and through the file system, but didn't locate anything.

Any thoughts on where this is stored (and if it is readable)?

Alternatively, I was looking for a "hosts"-file (like in Windows, which links hostnames to ip addresses), as one can modify this to get ip-address to change as one wants. But again no luck...
So, is there a place were this ip/hostname information is stored?

Thanks!


Jörg

Menneisyys
2nd December 2006, 09:05 PM
Hello,

I'm trying to figure out where the mail settings (in particular the SMTP server) is stored. I was thinking of using MobileProfiler to create different profiles, which I could use to change my SMTP server: if I connect via wifi, I need a different one than if I connect via gprs.
With TotalCommander, I searched through the registry and through the file system, but didn't locate anything.

Any thoughts on where this is stored (and if it is readable)?

It is. Please see my WinCE database & Messaging-related articles. I've described most of this stuff at http://www.pocketpcmag.com/blogs/index.php?blog=3&p=231&more=1



Alternatively, I was looking for a "hosts"-file (like in Windows, which links hostnames to ip addresses), as one can modify this to get ip-address to change as one wants. But again no luck...
So, is there a place were this ip/hostname information is stored?

Thanks!


Jörg

http://www.freewareppc.com/utilities/pockethosts.shtml

V J
2nd December 2006, 10:59 PM
Thanks!

Haven't read your article yet in full detail (just glanced quickly), but does that pmailfolders file also deal with the SMTP servers? (I currently have not yet downloaded mails to this device, and I can't seem to find the databasefile (despite the fact that all settings are all set)
If it does, is it possible to change its contents from e.g. MobileProfiler:
http://www.iaccarino.de/silvio/stuff/MobileProfilerReadme.htm
without corrupting the databasefile?
(I'm not a software developer, I just would like to be able to switch/choose my smtp server)

The hosts-file utility does seem like an easier way out, but I'll have to read up more on it. I could my a file for each smtp profile I have (in each file I would put same server name, different ip address), but then I need a way telling the device which of the files to use now. MobileProfiler allows for files to be copied (they illustrate it for Opera-settings), so perhaps.......
Oh, do you know if it is WM5 compatible?

For the time being, do you know an easy workaround? On my Symbian S60 phone, every message had "Sending options", which included the account via which it was sent. I just changed the option to the server I needed to use for the active internet connection, and I could send the file. I can't do this trick on my TyTN...


Jörg

Menneisyys
2nd December 2006, 11:42 PM
Thanks!

Haven't read your article yet in full detail (just glanced quickly), but does that pmailfolders file also deal with the SMTP servers? (I currently have not yet downloaded mails to this device, and I can't seem to find the databasefile (despite the fact that all settings are all set)
If it does, is it possible to change its contents from e.g. MobileProfiler:
http://www.iaccarino.de/silvio/stuff/MobileProfilerReadme.htm
without corrupting the databasefile?
(I'm not a software developer, I just would like to be able to switch/choose my smtp server)

The hosts-file utility does seem like an easier way out, but I'll have to read up more on it. I could my a file for each smtp profile I have (in each file I would put same server name, different ip address), but then I need a way telling the device which of the files to use now. MobileProfiler allows for files to be copied (they illustrate it for Opera-settings), so perhaps.......
Oh, do you know if it is WM5 compatible?

For the time being, do you know an easy workaround? On my Symbian S60 phone, every message had "Sending options", which included the account via which it was sent. I just changed the option to the server I needed to use for the active internet connection, and I could send the file. I can't do this trick on my TyTN...


Jörg

You should have started right with this ;)

The Messaging databases are pretty hard to (easily) change in WM5 and there are no tools (that I know of) that would do what you need.

Therefore, you REALLY want to check out alternate browsers; most importantly, Qmail. The latter has an XML-based config file mechanism; this means your thirs-party profiler tool only needs to do some very simple file copy/rename operations to completely and easily switch between SMTP servers. Highly recommended!

Please also check out my Mailer Roundup and other, newer mail-related articles; I've published several articles on alternate clients.

V J
3rd December 2006, 11:00 AM
Cool, thanks!

Weird though that all these devices (WM5, Symbian, ...) consider a SMTP server to be a property of the mailbox, rather than of the access point. Surely I'm not the only one who needs to change SMTP servers for different access points.

Again, thanks for the help, I'll search for a mailclient that offers better support for this (I'll check out Qmail too).

Jörg

V J
5th December 2006, 11:59 AM
I'm now running QMail, and this seems to sort out all of my problems.

In it, I can still change the account by which a mail is sent (so I can go back to using dummy-accounts like I did before), but I no also have the option to go for the more advanced profile setup using MobileProfiles. :)

Thanks!!! :D
(it made the device so much more usable for me)

Jörg