libUnreadMail/README.md

18 lines
648 B
Markdown
Raw Normal View History

2017-08-05 18:55:19 +02:00
libUnreadMail
=============
This library implements barely enough IMAP to read unseen mail. It also
contains an example program, that fetches said mails and prints them to stdout.
2017-08-05 18:56:28 +02:00
You can use either Fetch(p) or FetchPlaintext(p) provided
2017-08-05 18:55:19 +02:00
in libUnreadMail.go as your entry points. The former fetches the whole message
as golangs net/mail, the latter fetches the plain-text parts as strings.
unreadMail
==========
* go get the libUnreadMail repo
* enter the unreadMail subfolder
* go install
* use $GOPATH/bin/unreadMail -cert $cert -server foobar.com -user spam -pwfile pathToPasswordFile to fetch mail
2017-08-05 18:55:19 +02:00
* the fetched mail will be marked as read