Linux - Scriptable email client?
Posted
by
Phog
on Server Fault
See other posts from Server Fault
or by Phog
Published on 2011-01-11T20:23:27Z
Indexed on
2011/01/11
20:55 UTC
Read the original article
Hit count: 368
Hi,
I'm writing a simple UI for the visually impaired using a speech synthesizer. I've looked all over the internet for an email client which I can script to fit these purposes but to no avail.
I believe several CLI email clients(eg MUTT) allow sending emails with command line arguments only. But I've yet to find a client that can download the emails, decode them and then dump them to a text file.
The best candidate so far seems to be mailx, but it seems like it needs quite a lot of babysitting to fit my needs.
Any suggestions for scripting-friendly email clients?
Am I missing something fundamental about MUTT?
Are there any libraries/programs that help me decode the MIME encoding used in todays emails from a maildir?
Should I just bite the bullet and write a script for mailx?
Thanks in advance.
© Server Fault or respective owner