PDA

View Full Version : xbmcmail pop3 (POP/SMTP) e-mail client for XBMC


burriko
2004-04-13, 21:51
xbmcmail v0.3.1
by burriko

a pop3 email client for xbmc.

features
read emails that are currently in your pop3 mailbox.
emails are not deleted from the pop3 account so you can still pick them up later using your usual email client.
view images and listen to mp3s that are attached to the email.

0.3.1 - fixed attachment case-sensitivity bug

0.3 - added support for html emails.
attempted to add support for 720p resolution.
configurable temp folder to save attachments.

0.2 - uses images from textures.xpr.
added email images made by stass.
added support for ntsc.

0.1 - initial release.

how to use
1. open xbmcmail.py in a text editor and change the server, username and password.
2. copy xbmcmail.py to the \xbmc\scripts folder on your xbox.
3. optional. if you want 'my email' to appear on the opening menu of xbmc then copy the skin folder to your xbmc folder and copy strings.xml to \xbmc\language\english on your xbox.
note: this will overwrite the home.xml file in the mediacenter skin, only copy it over if you have a very recent build of xbmc, you can tell if it's new enough if it has the xbox-scene rss feed and the xlink kai gaming feature.

troubleshooting
if nothing happens when you run the script then it is very likely that you do not have python installed properly. if the file python23.zlib does not exist in your /xbmc/python folder then you must extract the contents of the python.rar that came with your copy of xbmc in to that folder.

thanks to stass for making the email icons.

download 0.3.1 (http://www.tait.nildram.co.uk/xbmcmail/xbmcmail-0.3.1.rar)

screenshot1 (http://www.tait.nildram.co.uk/xbmcmail/screenshot001.jpg) screenshot2 (http://www.tait.nildram.co.uk/xbmcmail/screenshot002.jpg)

darkie
2004-04-13, 22:13
nice *:)

btw, one thing i noticed is this lineself.addcontrol(xbmcgui.controlimage(0,0,720,5 76, 'q:\\skin\\' + skindir + '\\media\\background.png'))
it's ok but you could use this toself.addcontrol(xbmcgui.controlimage(0,0,720,576 , 'background.png'))
this will get background.png from the textures.xpr file from the current skin, and it will save some memory to

burriko
2004-04-13, 22:31
thanks, i didn't realise that.

actually there's one thing i wanted to mention to you. i wanted this email script to be able to blend into xbmc as much as possible, but there was one thing i couldn't do. when an audio file is playing and xbmc shows the song info and album art, it doesn't seem to be possible to have this display when you are creating a window in python. unless of course you are just drawing on top of an already existing window in xbmc.
can you think of any way around this?

oh, and thanks for all of the hard work you've done on getting python in to xbmc. :)

stass
2004-04-14, 01:33
ohh its a nice script but hmmm its not so beuty ;/ i got black gb ;(
http://www.home.no/stass/web/screenshot002.jpg
http://www.home.no/stass/web/screenshot003.jpg

how can i fix this.. ?

stass
2004-04-14, 01:37
ohh i got it :d
i only have textures.xpr and in the script...
self.panel = xbmcgui.controlimage(50,135,180,200, 'q:\\skin\\' + skindir + '\\media\\panel.png')

can you fix so its using textures.xpr?
its will be nice.. ;d

good work dude..!

burriko
2004-04-14, 03:17
ohh i got it :d
i only have textures.xpr and in the script...
self.panel = xbmcgui.controlimage(50,135,180,200, 'q:\\skin\\' + skindir + '\\media\\panel.png')

can you fix so its using textures.xpr?
its will be nice.. ;d

good work dude..!
i've updated it to use the images from the textures.xpr file now.

ent
2004-04-14, 07:28
i can't seem to get any of these internet scripts to work, with the exception of googlenews. all of them just don't connect to the net.

stass
2004-04-14, 18:07
well well :d
a new version ;)
http://www.home.no/stass/web/mail/temp/

stass
2004-04-15, 19:58
ajjt..!
hear we have a new frech.. simpel site ;)
hopp you like it..

http://www.home.no/stass/xbox/xbmc.htm

*peace*

bobrooney_78
2004-04-15, 22:42
just tried xbmcmail, it is great. works very well for me :)

keep up the great work!

burriko
2004-04-15, 22:51
just tried xbmcmail, it is great. works very well for me :)

keep up the great work!
thanks! i'm glad you like it.

kaisersose
2004-04-15, 23:44
yes great work

ktd
2004-04-16, 01:27
i like it alot!.. but it dont show å, ä, ö, å, ä, and ö and html mail (many mail is in html even tho it dont need to) looks messy...

you think you can add support for å, ä, ö, å, ä, and ö and html mail?

burriko
2004-04-16, 01:40
i like it alot!.. but it dont show å, ä, ö, å, ä, and ö and html mail (many mail is in html even tho it dont need to) looks messy...

you think you can add support for å, ä, ö, å, ä, and ö and html mail?
html mail is something that i'm definitely going to work on. most html emails actually have a plain text section as well as html, for email clients that don't support html, so at the moment i'm just using the plain text, but unfortunately not every html email has the plain text message.

i don't think there's anything i can do about the character set, but it's something i'll look in to.

thanks.

ktd
2004-04-16, 03:25
thanks and great work!

looking forward to see your progress on this excellent e-mail reader!

ent
2004-04-16, 05:04
i fixed up my nameserver settings and it works great. love to see support for sending email. you could use alx's script perhaps?

Akim
2004-04-20, 00:35
awesome work!! i really dig this one and i love the graphic. *:) *:) *:)

p.s.: it worked right away .. (i only needed to add the lines to the german language file)

Aurora13
2004-04-20, 19:13
i like it very much, but can you make it support 720p (and 1080i), because now it is 480p on a 720p display. :)

burriko
2004-04-20, 21:00
i like it very much, but can you make it support 720p (and 1080i), because now it is 480p on a 720p display. :)
heh, i realised while i was making it that it wouldn't display very well on hdtv resolutions, but i thought i'd leave it and see if anyone with hdtv actually used it. :)
now that someone has mentioned it i'll add hdtv support.

burriko
2004-04-23, 15:36
i'm trying to add hdtv support, but it's a bit difficult as i don't have hdtv or know much about it. are 720p and 1080i both always 16:9? and are the actual pixel resolution that i can draw to the screen in xbmc 1280x720 and 1920x1080?

thanks

Aurora13
2004-04-23, 15:52
as far as i know 720p and 1080i are indeed always 16x9.
and yes those are the correct resolutions.

can't wait! :)
if you finish it i can test it for you and give you screenshots of both modes.

burriko
2004-04-23, 15:56
actually, just screenshots of xbmc running in hdtv resolutions would help, otherwise i'm just going to have to guess where things should go. if you could take screenshots of the main xbmc menu, my weather and my files at both 720p and 1080i that would be great just so i can get an idea of what they look like at hdtv resolutions.

thanks a lot.

Aurora13
2004-04-23, 16:00
will take the screenshots in about 3 hours.

thebeast
2004-04-23, 18:00
will take the screenshots in about 3 hours.
please do, i'm a bit curious now...

Aurora13
2004-04-23, 19:18
oke here they are:

720p_main.jpg (http://www.aurora13.cistron.nl/720p_main.jpg)
720p_files.jpg (http://www.aurora13.cistron.nl/720p_files.jpg)
720p_files2.jpg (http://www.aurora13.cistron.nl/720p_files2.jpg)
720p_weather.jpg (http://www.aurora13.cistron.nl/720p_weather.jpg)

1080i_main.jpg (http://www.aurora13.cistron.nl/1080i_main.jpg)
1080i_files.jpg (http://www.aurora13.cistron.nl/1080i_files.jpg)
1080i_weather.jpg (http://www.aurora13.cistron.nl/1080i_weather.jpg)

burriko
2004-04-24, 01:22
thanks a lot, it's interesting to see how xbmc looks in hdtv. it seems that it's not exactly perfect at those resolutions.
anyway, i'll try and put something together for xbmcmail.

Aurora13
2004-04-24, 01:31
yeah it is not perfectly, but i just started to tweak the skin for 720p and started a thread about it. maybe these screenshots wil give you a better idea:

new default skin 720p (http://www.xboxmediaplayer.de/cgi-bin/forums/ikonboard.pl?act=st;f=7;t=3410;)

craigger
2004-04-24, 04:03
can anybody help...when i try executing the script....i get an error...can't load the module poplib

import poplib, sys, email, xbmcgui, xbmc, string, time, mimetypes, re

nevermind..i see that the libraries are included in python23.zlib

craigger
2004-04-24, 16:49
i would like to be able to enter an ip address for the server name instead of the fqdn.

when i tried using an ip address i got a connect error.

burriko
2004-04-24, 17:18
i didn't realise that ip addresses didn't work, i'll try and fix it.

btw, it's probably better if you keep any posts about xbmcmail in the xbmcmail thread. i'm actually more likely to see your message then too because i have the thread tracked.

dragonforce99
2004-04-24, 18:23
great work burriko! i love the script.

once writing emails as well is inserted ( hopefully with keyboard support ) this is by far the moste useful extension for xbmc !

best regards

feature request

- multi account checking, i think a few people have more than just one account ( i got 5 for example )

- writing emails :d

burriko
2004-04-24, 18:40
i would like to be able to enter an ip address for the server name instead of the fqdn.

when i tried using an ip address i got a connect error.
i tried substituting my mail servers ip address in place of the domain name address and it worked fine, so ip addresses do work. perhaps it's something else causing your problem?

craigger
2004-04-24, 19:26
sorry.....my dumb mistake

thanks,

craig

burriko
2004-04-30, 23:44
new version, 0.3, just released. check the first post in this thread for details.

i've attempted to add a 720p mode, but i don't think i've done a very good job. if some hdtv people (aurora13) could try it out and let me know if it's any good. if you wish to change any of the layout that would be appreciated. simply open xbmcmail.py in a text editor and you'll find that near the top there's a chunk of good for each resolution. simply change the coordinates for the 720p things until you get what you want. i've also added a section for 1080i if someone wants to try that, i haven't even attempted to fill in values for it yet.
if you do find better values for the hdtv resolutions then please send the updated xbmcmail.py to me and i'll include it in the next release.

thanks.

Aurora13
2004-05-01, 00:25
you did a very good job!
yesterday i already changed the 0.2 version by myself, but you did almost the same job and that without a hdtv!

to use a little more of the screen, i will change the 0.3 version to make it more in the style of mine 720p mediacenter skin. will make pictures of both your version and mine version, so you can check easily which one you like.

gerner
2004-05-02, 06:28
*** n00b warning ****

do you know if or how i can change the script to receive webmail like hotmail?

ent
2004-05-02, 08:07
*** n00b warning ****

do you know if or how i can change the script to receive webmail like hotmail?
i use a program called www.fitsoftware.com

you simply specify 127.0.0.1 as your pop server. unfortunately i am not sure how to use it on the xbox.

kraqh3d
2004-05-02, 09:38
hmm... i think your xbox should be able to retrieve your hotmail using using hotmail popper running on your pc. run hotmail popper on your pc, but change the config to use your pc's real ip address (not 127.0.0.1.) you can leave all other setting the same.

in xbmcmail.py, enter your pc's ip address for server, and your hotmail username for user, and your hotmail password as pass.

Aurora13
2004-05-02, 17:43
@burriko
this is how it looks with 0.3:
my email (http://www.aurora13.cistron.nl/defaultemail.jpg)
my email fullscreen (http://www.aurora13.cistron.nl/defaultemailfull.jpg)

i changed it a little bit to look like this:
my email (new) (http://www.aurora13.cistron.nl/newemail.jpg)
my email fullscreen (new) (http://www.aurora13.cistron.nl/newemailfull.jpg)

see if you like it (download here (http://www.aurora13.cistron.nl/xbmcmail.py)), otherwise stick to your version since it already looks very good. keep up the good work!

gerner
2004-05-03, 01:44
hmm... i think your xbox should be able to retrieve your hotmail using using hotmail popper running on your pc. run hotmail popper on your pc, but change the config to use your pc's real ip address (not 127.0.0.1.) *you can leave all other setting the same.

in xbmcmail.py, enter your pc's ip address for server, and your hotmail username for user, and your hotmail password as pass.
worked a treat! thanks for your help.

joseph_hac
2004-05-06, 01:47
hello,

i seem to be having a bit of trouble with the xbmcmail script. it will not execute from "my email" or under settings->general->scripts.

furthermore, after replacing the skins folder and strings.xml, my screen looks like this:

linkage (http://s98247501.onlinehome.us/bin/xbmcemail.bmp)

i have a regular ntsc television. sadly, i do not have high definition :( . i also have the newest official release of xbmc.

any help would be very much appreciated.

p.s. i use a few other scripts regularly...so i know there isnt a prblem with the python directory.

burriko
2004-05-06, 02:05
oops. that's what i get for not testing in ntsc when i released 0.3. i've fixed the skin problem now (download 0.3a from the first post in this thread).

as for not being able to run the script. firstly check that you have the file python23.zlib in your /xbmc/python folder on your xbox. if you don't then you need to extract it from the python.rar file that comes with xbmc.
if you do have that file then try running the script from the settings->general->scripts section, and then press the white button on your controller and see what the error message is.

thanks.

joseph_hac
2004-05-06, 05:34
you were right. my python folder was empty. i wonder why the other scripts (autoplay and sleeptimer) were able to run. they probably didn't call any of the functions included in the python library.

the skin fix you did helped. it fixed the menus on the right side. however, the large logo on the left still moves down a bit when selecting "my mail" or settings. i'll look into it and try to figure it out.

thanks a lot for your help and quick response!

burriko
2004-05-06, 12:52
sorry about that, the skin should be fixed properly now if you download 0.3b.

joseph_hac
2004-05-07, 20:40
thanks burriko.

it looks great now.

roortman
2004-05-12, 23:06
hi there,

first of all, thankx for this great script...
now i have got a question, can i use the script, including the button also in a different skin?
if yes, maybe there is someone who can explain how i can do this.
i know that i may be asking a bit much, but i am quite a newbie in all this, and i want to learn...

thankx

burriko
2004-05-13, 14:58
you can use the script in other skins by launching it from the 'scripts' section, but in order to have a button to launch it you'll either need to create that yourself or ask the person who made the skin to add one.

cheers.

Ph03n1x
2004-05-14, 01:07
this script works a treat - great work burriko! :)

p.s has anyone got a png for just the blue globe (seen on the main menu) that i could use...?

Beelzebub
2004-05-15, 19:10
this script is great! but i have 2 small problems one is that the date/time is always to close to the my email/weather underneath it. another lil bug i noticed is that hide media extentions doesn't show up in general options

Doc101
2004-05-16, 00:25
howdy,

i really like this script! it works great for me. i was just wondering if its possible to increase the font size of the emails (both for fullscreen and in the split view)

i assume i would need to edit something in the .py file, but im not sure what to change.

thanks fellas

kinghowdy0
2004-05-24, 02:13
i'm having a problem where i can receive the mail but it will not read it, i'm using the 5/21 build of xbmc along with 0.3b of the script which was working very nicely until recently. i'm also using an ntsc box if that's any help so any help/solution or if you're having the same problem just so that i know i'm not alone would be great.

tdfsu
2004-05-24, 05:45
does it work with yahoo mail? i can get it to tell me how many emails that i have in my mailbox, but it will not download them.

any ideas,
j.

Niclas
2004-05-27, 21:57
great script!!

would it be difficult to allow for check and read of imap mail?

regards /niclas

burriko
2004-05-29, 16:44
sorry i haven't replied to anyone's queries for a while, but i've been busy with a new job.

beelzebub - dunno about the date/time being close to the bunttons, i'm assuming you're using ntsc in which case there isn't much room on the screen to fit everything, try messing with the skin.. the hide media extensions thing definitely has nothing to do with xbmcmail though.

doc101 - yes, you should be able to increase the font size. find the following lines in the script
self.msgbody = xbmcgui.controltextbox(216, 340, 456, 200, 'font13')
self.fsmsgbody = xbmcgui.controltextbox(60, 50, 600, 500, 'font13')
and change font13 to font14. i'm not sure if you can change it to font15 or higher, that's something for you to try. note that you'll need to change those 2 lines according to what resolution you are using, you'll notice that the script has sections for pal, ntsc, 720p and 1080i.

kinghowdy0 - i haven't noticed that problem, so there's not much i can do really. is it every email or just a few?

tdfsu - it works with any pop3 mail account, i think yahoo is just webmail, so the answer would be no. you could probably get it working with yahoopops (http://yahoopops.sourceforge.net/) if you wanted.

niclas - it's probably not too difficult, but it's not something i'm intending to do at the moment. python does have an imap module (http://www.python.org/doc/2.3.4/lib/module-imaplib.html) if someone wants to try adding imap support.

dragonforce99
2004-05-30, 12:02
any chance for the script to check more than one email account in the future?

nosaj56
2004-05-30, 19:15
any chance for the script to be compatible with imap?

Hullebulle
2004-05-31, 04:16
any chance for the script to be compatible with imap?
any chance you read a thread before you post?

quote from niclas two posts ago:
great script!!

would it be difficult to allow for check and read of imap mail?

regards /niclas

j/k dude :)

jonmck
2004-06-08, 12:14
i am trying to access pop3.zoom.co.uk - but it will not get it! *keep getting 'problem connected to server'!

all other scripts work - i am connected to network - the server is right and my user/pass is right too

any ideas? *please!

btw - zoom is web and pop3 based - does that make a difference?

i have 06-06-04 build

jonmck
2004-06-08, 13:00
one more things - i am a complete noobie on skinning. can someone make a skin with my tv on it, or tell me how to put it on!!!???

Rtificial
2004-06-26, 14:21
hi!

it works like a charm on my own e-mailaccount, and looks great as well.

i was just wondering what could cause jpg attachements not to be shown...

besides that i notice my wife's e-mail got stuck at about 50% of retrieving messages, though it might be a large message...

and ehm, as for the multiple account-checking:

add several copies of this script, add a screen with several button linking to the scripts, et voilá, there is the multi-account support ;-)

burriko
2004-06-26, 14:47
i was just wondering what could cause jpg attachements not to be shown...
to be honest the attachment support is pretty simplistic, and i'd imagine it wouldn't take much to break it. for instance, i've only tested it by sending a few images and mp3s from outlook express, so i don't know how it reacts to attachment from other email clients (although they should all be the same really).
if the image is embedded in a html email then it probably wouldn't work, it would need to be a proper attachment. plus, the jpeg would need to have the file extension of either .jpeg or .jpg to be picked up as an image by xbmcmail.

the attachment support was really just something that i tacked on at the end because it seemed easy to add and it was fun to play with, i haven't really used it much myself.

Rtificial
2004-06-27, 02:12
i was just wondering what could cause jpg attachements not to be shown...
to be honest the attachment support is pretty simplistic, and i'd imagine it wouldn't take much to break it. *for instance, i've only tested it by sending a few images and mp3s from outlook express, so i don't know how it reacts to attachment from other email clients (although they should all be the same really).
if the image is embedded in a html email then it probably wouldn't work, it would need to be a proper attachment. *plus, the jpeg would need to have the file extension of either .jpeg or .jpg to be picked up as an image by xbmcmail.

the attachment support was really just something that i tacked on at the end because it seemed easy to add and it was fun to play with, i haven't really used it much myself.
might the extension be case-sensitive?

burriko
2004-06-27, 02:35
might the extension be case-sensitive?
yep :) it's always the simple things.

i've just fixed it, and added a new version to the first post in this thread. i haven't actually tested it cos i'm a little drunk and tired, but it should work fine. let me know if it doesn't.

nufctoon
2004-06-28, 12:34
im getting a 'problem connecting to server' message

i've got the adsl connection shared, so the xbox does connect to the internet as i can view imdb info

so would this be a general error with the e-mail server (web-mania) as opposed to my setup?

anyone else had this error? :s :help:

Rtificial
2004-06-28, 13:03
might the extension be case-sensitive?
yep *:) *it's always the simple things.

i've just fixed it, and added a new version to the first post in this thread. *i haven't actually tested it cos i'm a little drunk and tired, but it should work fine. *let me know if it doesn't.
great! i'll have a look tonight ;)

Rtificial
2004-06-28, 21:19
works like a charm!! how am i supposed to close a attachment i'm viewing though?

burriko
2004-06-29, 11:29
works like a charm!! how am i supposed to close a attachement i'm viewing though?
i think it's 'menu' on the remote, dunno about the controller.

Rtificial
2004-06-29, 12:19
works like a charm!! how am i supposed to close a attachment i'm viewing though?
i think it's 'menu' on the remote, dunno about the controller.
well, menu took me back to my home-screen. i was wondering whether i could just close the attachment...

ktd
2004-07-06, 11:11
i don't think there's anything i can do about the character set, but it's something i'll look in to.
have you looked into it?

all my å is =c5 and ä is =c4 etc...

thanks for a great script!

Punk
2004-07-27, 14:33
im getting a 'problem connecting to server' message

i've got the adsl connection shared, so the xbox does connect to the internet as i can view imdb info

so would this be a general error with the e-mail server (web-mania) as opposed to my setup?

anyone else had this error? :s :help:
i was getting the same message but could still listen to web radio.
it was because i haven't got the dns set up in my computers network settings.
in my internet connection settins i found out that im assigned a dns server automatically at login and cant find out what it is so if anyone knows how to find out what it is please post1
there is a way round it though,
1. go to www.dnsstuff.com
2. in the "dns lookup" box type in ur pop3 server like "pop3.supanet.com"
3. get one of the ip addresses and use that as the server name instead of the text name.
i use server = '213.40.66.73' instead of server = 'pop3.supanet.com'
:joker:

burriko
2004-07-29, 19:49
i don't think there's anything i can do about the character set, but it's something i'll look in to.
have you looked into it?

all my å is =c5 and ä is =c4 etc...

thanks for a great script!
i have had a quick look, but to be honest i don't really know what i'm looking for. if someone knows what it is then let me know and i'll try and fix it.

burriko
2004-07-29, 19:53
it was because i haven't got the dns set up in my computers network settings.
in my internet connection settins i found out that im assigned a dns server automatically at login and cant find out what it is so if anyone knows how to find out what it is please post
type 'ipconfig /all' at a command prompt in windows. unless you're using windows 9x in which case i think you need to type winipcfg or something similar.

Punk
2004-07-30, 13:04
:thumbsup: sorted! added the name server and now i can see the x-box scene news scroling, didn't know about that feature! cheers burriko :fixed:

nufctoon
2004-07-30, 19:28
im getting a 'problem connecting to server' message

i've got the adsl connection shared, so the xbox does connect to the internet as i can view imdb info

so would this be a general error with the e-mail server (web-mania) as opposed to my setup?

anyone else had this error? :s :help:
i was getting the same message but could still listen to web radio.
it was because i haven't got the dns set up in my computers network settings.
in my internet connection settins i found out that im assigned a dns server automatically at login and cant find out what it is so if anyone knows how to find out what it is please post1
there is a way round it though,
1. go to <a href="www.dnsstuff.com" target='_blank'>www.dnsstuff.com</a>
2. in the "dns lookup" box type in ur pop3 server like "pop3.supanet.com"
3. get one of the ip addresses and use that as the server name instead of the text name.
i use server = '213.40.66.73' instead of server = 'pop3.supanet.com'
:joker:
i'll try that then

only problem i get now is a black screen whenever i attempt to get into the 'my email' section and this freezes up xbmc entirely so i have to switch it off via the power switch :stare:

nufctoon
2004-07-30, 19:51
:d

that worked thanks.

finally i can use xbmc mail

ChillyCat
2004-07-30, 23:16
burriko

excellent work dude !!!!!!!!

worked right out of the box. :o :o

nufctoon
2004-08-01, 21:35
i've just put a new skin on xbmc, ("project mayhem") however, the 'my e-mail' menu option does not appear to be available when this skin is selected.

i've tried adding the home.xml skin file from the xbmcmail.v0.3 archive but had no luck.

any suggestions anybody? :) hehe...

Ariek
2004-08-07, 03:10
is it possible to add a delete function to xbmc mail.
most of the mail i recieve i read only once and then i delete it anyway.

this would make a fine addition i think

but thanks for the program anyway

:thumbsup:

DarkVamp
2004-08-18, 15:39
i've just put a new skin on xbmc, ("project mayhem") however, the 'my e-mail' menu option does not appear to be available when this skin is selected.

i've tried adding the home.xml skin file from the xbmcmail.v0.3 archive but had no luck.

any suggestions anybody? :) hehe...
same problem here... i can´t start any python script with this skin... :help: :help:

Nickman
2004-08-20, 10:42
i've just put a new skin on xbmc, ("project mayhem") however, the 'my e-mail' menu option does not appear to be available when this skin is selected.

i've tried adding the home.xml skin file from the xbmcmail.v0.3 archive but had no luck.

any suggestions anybody? :) hehe...
same problem here... i can´t start any python script with this skin... *:help: *:help:
you start scripts in project mayhem from "my files" there is a button on the left called scripts.

Sam
2004-08-24, 21:37
nice script but would be perfect when the client skip mails wich a larger than eg 1mb or less. or better which skip all atachments :)

anyway this script is very cool ;)

kinghowdy0
2004-08-29, 06:48
hey,
i must say i really love this script one of the scripts on the short list or scripts that i use daily with xbmc! anyway i've been having this problem for as long as i can remember, for whatever reason i cannot receive e-mails written from yahoo! i'm thinking most likely because it is html mail (or at least i think it is). now it wouldn't be a big deal except for the fact that the person who i exchange e-mails with frequently is using yahoo! mail. so if anyone else could tell me they're having the same problem or if there is a work around i'm not sure. but regardless this script has been at .3.1 for awhile and i'm wondering if there is any active development still going on with it and what type of features can we expect to see? well thanks in advance.

htilly
2004-08-29, 13:41
hi there !

must say that the script is really usefull!
however i do have some problem reading my mail since it does not seems to support öäå,öäå (swedish letters). :verysad:

is there any plan of supoporting this in the script. is it hard to add ?!

it would really make my day :joker:

/tilly

tehon3299
2004-10-05, 05:51
does this script download all your mail from your inbox like a pop3 setup would or does this act like an imap and just check the server for mail and not actually download it. i dont want my mail to be taken off the server.

gdming
2004-10-08, 07:59
im getting a 'problem connecting to server' message

i've got the adsl connection shared, so the xbox does connect to the internet as i can view imdb info

so would this be a general error with the e-mail server (web-mania) as opposed to my setup?

anyone else had this error? :s :help:
i get same problem, and in my environment, xbox connect to my wireless ap and connect to internet, i set the static ip and the gateway/dns point to ap, and weather works ok.

can anyone point me to resolve it?

thanks
i get same problem, and in my environment, xbox connect to my wireless ap and connect to internet, i set the static ip and the gateway/dns point to ap, and weather works ok.

can anyone point me to resolve it?

thanks

richlin71
2004-10-25, 07:37
values for 720p should be:

* * * *elif screenheight==720: #720p
* * * * * *self.addcontrol(xbmcgui.controlimage(0,0,1366,768 , 'background.png'))
* * * * * *self.fsoverlay = xbmcgui.controlimage(0,0,1366,768, 'background.png')

1080i should use:

* * * * * *self.addcontrol(xbmcgui.controlimage(0,0,1920,108 0, 'background.png'))
* * * * * *self.fsoverlay = xbmcgui.controlimage(0,0,1920,1080, 'background.png')

gloup
2004-10-26, 00:32
values for 720p should be:

elif screenheight==720: #720p
self.addcontrol(xbmcgui.controlimage(0,0,1366,768, 'background.png'))
self.fsoverlay = xbmcgui.controlimage(0,0,1366,768, 'background.png')

1080i should use:

self.addcontrol(xbmcgui.controlimage(0,0,1920,1080 , 'background.png'))
self.fsoverlay = xbmcgui.controlimage(0,0,1920,1080, 'background.png')
is it the solution to add a mail button in project mahyem ?? :o

Kick In Da Door
2004-11-05, 20:48
how do i implement yahoo , aol, or hotmail into this script or do they have to be built seperately from this one.

hakukaji
2004-12-03, 01:20
im getting a 'problem connecting to server' message

i've got the adsl connection shared, so the xbox does connect to the internet as i can view imdb info

so would this be a general error with the e-mail server (web-mania) as opposed to my setup?

anyone else had this error? :s :help:
i get same problem, and in my environment, xbox connect to my wireless ap and connect to internet, i set the static ip and the gateway/dns point to ap, and weather works ok.

can anyone point me to resolve it?

thanks
i get same problem, and in my environment, xbox connect to my wireless ap and connect to internet, i set the static ip and the gateway/dns point to ap, and weather works ok.

can anyone point me to resolve it?

thanks
make sure you get your dns from your network, and put it in your xbox network settings. it's been said a couple times in this very thread :) took me awhile to find it myself.

rockstardaddy
2005-01-25, 05:28
i also have the newest build of xbmc, like jan 2, 2005 or something. can't get the script to run. it says running then quits. am i missing something?

kees667
2005-01-28, 23:41
runs fine here with every build since november up till 24th of january so thats not it. settings for mail are correct?

Tomkun
2005-02-13, 05:24
is there any way to get this script to display japanese text?

Tomkun
2005-02-13, 07:06
actually, scrap that. it does display japanese text, but only from some senders... any idea what would cause that? it just comes up in weird characters...

HarshReality
2005-02-13, 22:26
gotta regular pm bg for this?

supersexy
2005-02-13, 23:10
i have a gmail account. could someone help me set it up on my xbox? i can get you a gmail account if you help me. i only occasionally check this forum so please email me as well at brandonbarlow@gmail.com if you know how to help me fix it.

HarshReality
2005-02-15, 08:49
looking at this, while the port can be specified in the script it requires an ssl connection that 2.3 of python doesnt support. maybe the powers that be will update to a current release and then this script can be adapted for gmail.

i considered doing it myself but i just killed my script functions all together (still new to the source code) so i had to restore my 2.3

jsvensso
2005-03-01, 18:14
i realy like this script, but there are two additions i would realy like:
1. store the downloaded messages on disc. (it takes time downloading them every time.)
2. add possibillity to send emails.

:thumbsup:

Rough_Rider
2005-10-26, 07:27
:help: by any chance do any of you know how to set up xbmc so i can get my email.

any help would be greatly appriciated :thumbsup:

Tomkun
2005-10-26, 14:58
xbmc does not come with email support.

what you may have is a python script. try posting in the python forum for more help on that, although i a sure it has been covered already. have you tried searching?

Nukkumatti
2005-12-01, 16:04
this script is working great, but when i get some e-mails with iso-8859-1 encoding the subject looks like this:

=?iso-8859-1?q?=e5=e4=f6?= from your.name@email.com

it should be look like this:

åäö from your.name@email.com

i changed the following lines from this:


for i in range(numemails):
self.listcontrol.additem(self.emails[i].get('subje ct') + " from " + self.emails[i].get('from'))

to this:

for i in range(numemails):

header = str(self.emails[i].get('subject'))
header = re.sub(r'=\?iso-8859-1\?q\?', '', header)
header = re.sub(r'=5f', ' ', header)
header = re.sub(r'\?=', '', header)
header = re.sub(r'=e4', 'ä', header)
header = re.sub(r'=e5', 'å', header)
header = re.sub(r'=c4', 'ä', header)
header = re.sub(r'=d6', 'ö', header)
header = re.sub(r'=c5', 'å', header)
header = re.sub(r'=f6', 'ö', header)
header = re.sub(r'_', ' ', header)
header = re.sub(r'=20', ' ', header)
header = re.sub(r'=3a', ':', header)
header = re.sub(r'=3b', ';', header)
header = re.sub(r'=2e', '.', header)
header = re.sub(r'=2c', ',', header)
header = re.sub(r'=3d', '=', header)
header = re.sub(r'=3f', '?', header)
header = re.sub(r'=25', '%', header)
header = re.sub(r'=26', '&', header)
header = re.sub(r'=28', '(', header)
header = re.sub(r'=29', ')', header)
header = re.sub(r'=a4', '¤', header)
header = re.sub(r'=24', '$', header)
header = re.sub(r'=a4', '¤', header)
header = re.sub(r'=7b', '{', header)
header = re.sub(r'=5b', '[', header)
header = re.sub(r'=5d', ']', header)
header = re.sub(r'=7d', '}', header)
header = re.sub(r'=5c', r'\\', header)
header = re.sub(r'=\?windows-1252\?q\?-', '-', header)
header = re.sub(r'=\?windows-1252\?q80', 'e', header)

self.listcontrol.additem(header + " from " + self.emails[i].get('from'))

i know this is not so sophisticated way to do this. if anybody knows how to strip iso-8859-1 emails to readable form better way than this please tell me.

cryptonik
2006-06-03, 06:44
wouldnt it be handy if someone incorporated the two email scripts into one so you could send and recieve mail from yor pop/smtp settings. its possible and there are two different scripts one that recieves and one that sends but incorporating them both is a good idea.

realjobe
2006-11-08, 14:46
this script is working great, but when i get some e-mails with iso-8859-1 encoding the subject looks like this:



it should be look like this:



i changed the following lines from this:



to this:


i know this is not so sophisticated way to do this. if anybody knows how to strip iso-8859-1 emails to readable form better way than this please tell me.


Can't make this change to work: any small adding after for loop results in "no run". What to do?