View Single Post
Old 08-16-2012, 12:54 PM   #1
rfog
Evangelist
rfog ought to be getting tired of karma fortunes by now.rfog ought to be getting tired of karma fortunes by now.rfog ought to be getting tired of karma fortunes by now.rfog ought to be getting tired of karma fortunes by now.rfog ought to be getting tired of karma fortunes by now.rfog ought to be getting tired of karma fortunes by now.rfog ought to be getting tired of karma fortunes by now.rfog ought to be getting tired of karma fortunes by now.rfog ought to be getting tired of karma fortunes by now.rfog ought to be getting tired of karma fortunes by now.rfog ought to be getting tired of karma fortunes by now.
 
Posts: 402
Karma: 238214
Join Date: Aug 2007
Location: Elda - Alicante (Spain)
Device: PB903, K2, K3, K2i, KDX,KDXG,Nook,DR1000S, Boox6, iPad, Q1U, X51v, TM2
Help needed: Send ebooks via email

This is my idea:

You have an email address only for use with your device (one email for each device).

You send with Calibre (or any other tool, even by hand) one ebook via email to that address.

Once you want to receive the sent ebooks, you go to Applications and launchs updater. This program takes all emails, parse them and save locally the sent ebooks.

My idea is to do it with QT, that is Boox Framework and I'm comfortable with QT (not in Linux but in Win/Mac).

However, QT does not have any POP3 library and/or IMAP, then doing it all manually exceeds my free time.

I would like if someone knows a command line email client. I need to control it via my program to get emails, and get body and attachments. Ideally it will take only one email on each call and save body and attachment. Then my program will take attached file and put in a local folder.

I will need body for some reason:
sd=1
folder=/Science Fiction/Asimov
name=Nightfall.epub

That way, doing a Calibre plugin (that can be used to add this feature to other ebook readers), user can "inject" each ebook in desired location.

Other approach will be to build a file manager and move them from download area into desired folder, but above stuff is more practical.

However I need an email client compatible with ARM, linux and command line control.

Does any know one (or any POP3 library for QT)?
rfog is offline   Reply With Quote