You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
libetpan/tests
Hoa V. DINH 1fa8e2ac8d
Fixed include
10 years ago
..
Makefile.am build pop sample 11 years ago
README added IMAP example 12 years ago
compose-msg.c import from CVS 12 years ago
decrypt.c various fixes (fd leaks, mem leaks). Thanks to Manfred Weichel 11 years ago
fetch-attachment.c import from CVS 12 years ago
frm-common.c import from CVS 12 years ago
frm-common.h import from CVS 12 years ago
frm-simple.c import from CVS 12 years ago
frm-tree.c import from CVS 12 years ago
frm.c import from CVS 12 years ago
imap-sample.c work on sample, added pop sample 12 years ago
mime-create.c * More fixes! 11 years ago
mime-parse.c work on sample, added pop sample 12 years ago
option-parser.c Fixed include 10 years ago
option-parser.h import from CVS 12 years ago
pgp.c import from CVS 12 years ago
pop-sample.c work on sample, added pop sample 12 years ago
readmsg-common.c import from CVS 12 years ago
readmsg-common.h import from CVS 12 years ago
readmsg-simple.c import from CVS 12 years ago
readmsg-uid.c import from CVS 12 years ago
readmsg.c import from CVS 12 years ago
smime.c import from CVS 12 years ago
smtpsend.c improved smtp sample 11 years ago

README

imap-sample

-----------
connect to Gmail IMAP server and fetches the messages of INBOX to a folder "download"

syntax: imap-sample mygmailaccount@gmail.com mypassword


mime-parse
----------
parse a MIME message and show the structure

syntax: mime-parse emailfile.eml


mime-create
-----------
create a message and show the resulting RFC 2822 format

syntax: mime-create


compose-msg
-----------

creates a RFC 2822 message with MIME parts

syntax: compose-msg "text" filename



all the following programs will take as argument :

--driver=(pop3|imap|nntp|mbox|mh) -d pop3 (pop3|imap|nntp|mbox|mh)

default driver is mbox

--server={server-name} -s {server-name}
--port={port-number} -p {port-number}
--tls -t
--starttls -x
--user={login} -u {login}
--password={password} -v {password}
--path={mailbox} -l {mailbox}
--apop -a
--cache={directory} -c {directory}

the default driver is mbox with the path /var/mail/$USER

frm-simple, frm, frm-tree
-------------------------

frm-simple will list all the mails of a mailbox without any MIME decoding.

frm will list all the mails of a mailbox and will decode the fields.

frm-tree will do the same thing as frm and will also show the threads
of the folder.


fetch-attachment
----------------

fetch-attachment gets all the named attachment of the given message
of the chosen mailbox and writes them on the current directory.

The program should be given message numbers (as given by frm) as
additionnal arguments.


readmsg-simple, readmsg
-----------------------

readmsg-simple will display the content of the given messages.
All the content (headers and body) will be displayed.

readmsg will display only the text parts of the given messages.

The program should be given message numbers (as given by frm) as
additionnal arguments.