mailcgi

mailcgi is a cgi-bin internet email client written using C language.
It supports POP3 and SMTP protocols.
It doesn't support MIME multipart encoded messages.