Giter Site home page Giter Site logo

hucancode / libetpan Goto Github PK

View Code? Open in Web Editor NEW

This project forked from dinhvh/libetpan

0.0 1.0 0.0 14.4 MB

Mail Framework for C Language

Home Page: www.etpan.org

License: Other

Shell 5.92% C 82.12% Makefile 6.41% C++ 0.11% Batchfile 0.01% M4 0.30% HTML 1.88% Java 0.60% R 0.03% Perl 0.36% XS 0.05% Roff 2.14% Clarion 0.01% Raku 0.03% DIGITAL Command Language 0.03%

libetpan's Introduction

LibEtPan

The purpose of this mail library is to provide a portable, efficient framework for different kinds of mail access: IMAP, SMTP, POP and NNTP.

It provides an API for C language.

Build Status Code Quality: Cpp Total Alerts

Features

  • IMAP
  • SMTP
  • POP
  • NNTP
  • RFC822/MIME message builder
  • RFC822/MIME message parser
  • Maildir
  • mbox
  • MH

Build instructions

Unix

You need to install autoconf, automake and libtool. They can be installed using brew.

$ ./autogen.sh
$ make

You can use flag --with-poll for using poll() instead of select() for checking connection status

How to link with it

$ gcc -c -o sample.o sample.c `pkg-config libetpan --cflags`
$ gcc -o sample sample.o `pkg-config libetpan --libs`

Mac / iOS

  • Download Xcode
  • Open build-mac/libetpan.xcodeproj
  • Choose the correct target "static libetpan" for Mac or "libetpan ios" for iOS.
  • Build

Setup a Mac project

  • Add libetpan.xcodeproj as sub-project
  • Link with libetpan.a

Setup an iOS project

  • Add libetpan.xcodeproj as sub-project
  • Link with libetpan-ios.a
  • Set "Other Linker Flags": -lsasl2

Build on Windows

  • See README and Visual Studio Solution in build-windows folder

More information

See http://etpan.org/libetpan.html for more information and examples.

libetpan's People

Contributors

alex2grad avatar alltom avatar chunga avatar codafi avatar colinleroy avatar coredumped avatar darovskikhandrei avatar dinhvh avatar dunemaster avatar eesheesh avatar eworm-de avatar fcoulombegoogle avatar foxinushka avatar haithngn avatar libec avatar madalexuk avatar matthias-lay avatar miximka avatar mones avatar mronge avatar pitiphong-p avatar r10s avatar raniervf avatar rezso avatar sbigaret avatar tapouillo avatar yamori813 avatar yorkie avatar yuklai avatar zhanleewo avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.