LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (http://www.linuxquestions.org/questions/programming-9/)
-   -   bash: outputing the email content of the last email received? (http://www.linuxquestions.org/questions/programming-9/bash-outputing-the-email-content-of-the-last-email-received-858643/)

Xeratul 01-25-2011 04:28 PM

bash: outputing the email content of the last email received?
 
Hello,

I would like with bash to output the content of my very last email that has been received (I use gmail), especially using fetchmail or mutt.


Thank you in advance!
Cheers

--
(Nota: My mutt is well configured, and fetchmail too.)

Agentrooker 03-01-2011 11:39 AM

I've never done this myself, but it seems like if you could get fetchmail configured right, there shouldn't be much (if any) bash scripting needed to get it to do what you want.

This tutorial seems like it would be useful to you: http://www.axllent.org/docs/networki...with_fetchmail

I would also check the man page for fetchmail. You would probably have more luck posting any questions that come up about fetchmail in one of the other subforums, like maybe the Linux Software subforum.


All times are GMT -5. The time now is 06:27 AM.