# GMime 2.6 Reference Manual

Jeffrey Stedfast

                fejj@gnome.org

2000-2011 Jeffrey Stedfast

This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.

This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

This manual documents the interfaces of the GMime library and has some short notes to help get you up to speed with using the library.

## GMime Overview

GMime is a powerful MIME (Multipurpose Internet Mail Extension) utility library. It is meant for creating, editing, and parsing MIME messages and structures. GMime is released under the 2.1 version of the GNU Lesser General Public License. GMime is based on GLib 2.0's GObject system allowing for a lot of flexibility.

GMime depends on the following libraries:

GLib

  A general-purpose utility library, not specific to graphical user interfaces. GLib provides many useful data types, macros, type conversions, string utilities, file utilities, a main loop abstraction, and so on.

&gmime-Building; &gmime-Compiling; &gmime-Changes-2-0; &gmime-Changes-2-2; &gmime-Changes-2-4; &gmime-Changes-2-6; &gmime-Resources; &gmime-Questions;

## GMime Fundamentals

&gmime-Streams; &gmime-Filters; &gmime-DataWrappers;

## GMime Core Reference

&gmime-Init; &gmime-charset; &gmime-iconv; &gmime-iconv-utils; &gmime-encodings; &gmime-utils;

## GMime Classes

### Class hierarchy

&index-Class-Tree;

### Streams

&GMimeStream; &GMimeStreamFile; &GMimeStreamFs; &GMimeStreamMem; &GMimeStreamMmap; &GMimeStreamNull; &GMimeStreamFilter; &GMimeStreamBuffer; &GMimeStreamPipe; &GMimeStreamCat;

### Stream Filters

&GMimeFilter; &GMimeFilterBasic; &GMimeFilterBest; &GMimeFilterCharset; &GMimeFilterCRLF; &GMimeFilterEnriched; &GMimeFilterFrom; &GMimeFilterGZip; &GMimeFilterHTML; &GMimeFilterMd5; &GMimeFilterStrip; &GMimeFilterWindows; &GMimeFilterYenc;

### Data Wrappers

&GMimeDataWrapper;

### Message and MIME Headers

&GMimeHeader; &GMimeContentType; &GMimeDisposition; &GMimeParam;

### Internet Addresses

&InternetAddress; &InternetAddressGroup; &InternetAddressMailbox; &InternetAddressList;

### MIME Messages and Parts

&GMimeObject; &GMimeMessage; &GMimePart; &GMimeMultipart; &GMimeMultipartEncrypted; &GMimeMultipartSigned; &GMimeMessagePart; &GMimeMessagePartial; &GMimePartIter;

### Parsing Messages and MIME Parts

&GMimeParser;

### Cryptography Contexts

&GMimeCertificate; &GMimeSignature; &GMimeCryptoContext; &GMimeGpgContext; &GMimePkcs7Context;