Broken XBMCMail (E-mail Script for XBMC)
#7
Let me explain number two Tongue

Do somekind of loop, to allow multiple accounts (more than two)

suggested settings.xml
Code:
<settings>
    <general>
        <masterpassenable>-</masterpassenable>
        <masterpass>-</masterpass>
    </general>
    <server id="1">
        <name>Name for server ONE</name>
        <isp>-</isp>
        <user>-</user>
        <pass>-</pass>
    </server>
    <server id="2">
        <name>Name for server TWO</name>
        <isp>-</isp>
        <user>-</user>
        <pass>-</pass>
    </server>
    <server id="3">
        <name>Name for server THREE</name>
        <isp>-</isp>
        <user>-</user>
        <pass>-</pass>
    </server>
</settings>

Then in the script call this and read out every single server.

After that do a loop that checks every server instead of as now having first a check ISP1 then a check ISP2..

This will not only compress code, but also be more flexible as it allows to control 3, 4 or more accounts Big Grin

This is just a basic quick draft when looking at your code of checking emails. Would sure need some more structure/thinking of layouts etc..

But this should get you started in that direction Nod

If anything is unclear, please ask and I'll try and collaborate my ideas..

---------

Also another suggestion is to use password inputs that masks the password as typed and also use some sort of encryption for the stored passwords (just to make it a little harder to get them) I mean, since the .py is not protected it wont be 100% secure, but those wannabe hackers might get confused Wink
Reply


Messages In This Thread
[No subject] - by trignum5 - 2006-12-24, 15:04
[No subject] - by sollie - 2006-12-24, 15:44
[No subject] - by blittan - 2006-12-24, 19:51
Hi Blittan - by matthuisman - 2006-12-24, 21:13
[No subject] - by matthuisman - 2006-12-24, 21:15
[No subject] - by blittan - 2006-12-24, 23:47
Yup - by matthuisman - 2006-12-25, 09:43
[No subject] - by blittan - 2006-12-25, 11:21
I Got Ssl!!! - by matthuisman - 2006-12-25, 11:45
[No subject] - by blittan - 2006-12-25, 12:31
[No subject] - by matthuisman - 2006-12-27, 03:28
[No subject] - by sollie - 2006-12-27, 20:54
hi - by matthuisman - 2006-12-28, 00:38
[No subject] - by matthuisman - 2006-12-28, 01:02
[No subject] - by hXr.eXe - 2006-12-28, 02:06
[No subject] - by jonkersm - 2006-12-31, 17:16
[No subject] - by matthuisman - 2007-01-01, 10:34
[No subject] - by jonkersm - 2007-01-04, 12:06
[No subject] - by matthuisman - 2007-01-04, 13:06
[No subject] - by matthuisman - 2007-01-04, 13:10
Logout Mark Read Team Forum Stats Members Help
XBMCMail (E-mail Script for XBMC)0