Posts: 20
Joined: Jan 2004
Reputation:
0
2005-06-06, 16:51
i have been looking for a script that would check a pop server for new e-mails and when one is detected there would be a little popup notification in the corner (similar to aim's buddy notification messages). i'd like it to be able to popup while on any screen including visualizations and movies. it doesn't need to have any contents of the email listed (subject/sender/etc.) just that there is/are e-mail(s).
i've seen one e-mail script but it was too tied into the ui. i just want something that is almost completely in the background.
does something like this already exist? if not, is it possible?
thanks.
Posts: 20
Joined: Jan 2004
Reputation:
0
well, i've taken a look at the caller id script. it seems to do exactly what i want except i want to be notified of new emails. i tried to see if i could mix the email grabbing features of the email script with the display features of the caller id script. this is way over my head having never used python (or any scripting language for that matter).
i think i've figured out the display aspects (how to display subject/sender/etc.), but i cannot figure out how to use the mail script (or other python code) to detect any new email (every 5 minutes or so) and if there is email, pass that information to the display code to get the subject/sender displayed in a method very similar to the caller id script.
any experienced python scripters have any suggestions on where i should get started?
thanks.
note to mods: now that this has become a development question, feel free to move this to the python development forum.
Posts: 1,473
Joined: Aug 2004
Reputation:
3
C-Quel
Retired Team-Kodi Member
Posts: 1,473
be nice if http could be detected to for hotmail...
Posts: 20
Joined: Jan 2004
Reputation:
0
enderw, thanks for your response.
however, after looking at the code for a couple hours yesterday, i've decided that this is way over my head. i figured out how to contact the pop3 server and connect to it. but, i don't know how to check if new mail has arrived since the last time this client (and only this client) checked. if i somehow figured this out, and i got a specific e-mail, i think i could figure out how to pass the relevant info (sender/subject) to the display code.
but, because of the problems i am having with the pop3 server commands, i don't think i can figure this out.
if any python coders like the idea of the notification and feel like helping, i would appreciate it. but until then, i'll turn up the volume to my speakers on my computer and let thunderbird's audio notification alert me to new e-mails.
thanks,
jeff
Posts: 20
Joined: Jan 2004
Reputation:
0
please look into it.
note: i'm not saying write it for me. i just want to know if there is anything specific that you can offer that would make this possible. there are so many different things that i don't know how to do with python and probably will never be able to figure out because of my extremely limited programming and absolutely no scripting language experience.
thanks,
jeff
Posts: 20
Joined: Jan 2004
Reputation:
0
if you could take a look, i really would appreciate it.
thanks,
jeff
Posts: 20
Joined: Jan 2004
Reputation:
0
any luck looking into it?
thanks,
jeff
Posts: 249
Joined: Feb 2005
Reputation:
0
EnderW
Skilled Python Coder
Posts: 249
got bored with the scriptbrowser so i decided i'd look into it. was rather easy, just have left to implement the dialog. expect it here in an hour (if everything goes as planned, which it usually doesn't).
xbmcscripts.com administrator
Posts: 20
Joined: Jan 2004
Reputation:
0
thanks for looking into it!
hope someone else can take some time to build on this script.
thanks again,
jeff