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:
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)?