maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Development (https://talk.maemo.org/forumdisplay.php?f=13)
-   -   Archive SMS in IMAP (GMAIL) export (https://talk.maemo.org/showthread.php?t=67286)

rcastberg 2010-12-21 21:56

Archive SMS in IMAP (GMAIL) export
 
1 Attachment(s)
Hi,

Just thought i would share this.

Its a simple python script to export any sms's from the phone to my gmail account.

There are a couple of parameters that have to be set in the first couple of lines, and after that i just connects to IMAP and places all the messages in a specified folder.

Limitations:
Only sms's, no chat or MMS.
Only exports the number, in future i would love to add the ability to look up the phone number before exporting them.

Its simple, but it works for me. Hope this helps sombody else as well.

Rene


edit:removed debugging line
Changes: v0.2 changed the default path search

ny-hardcore 2010-12-23 10:57

Re: Archive SMS in IMAP (GMAIL) export
 
it doens't work for me, i get an error on line 30 syntax error

rcastberg 2010-12-25 09:31

Re: Archive SMS in IMAP (GMAIL) export
 
Hi, i made some small changes, hopefully this should work for you


All times are GMT. The time now is 16:36.

vBulletin® Version 3.8.8