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.


I. GMime Overview
Compiling the GMime libraries — How to compile GMime itself
Compiling GMime Applications — How to compile your GMime application
Mailing lists and bug reports — Getting help with GMime
Frequently Asked Questions — Find answers to common questions in the GMime manual
II. GMime Fundamentals
Streams — How to use Streams
Stream Filters — How to use Stream Filters
MIME part content — Read or copy a MIME part's content with GMimeContent
III. GMime Core Reference
Initialization and version information — Initialization, shutdown and version-check routines
Character sets — Charset helper functions
Character set conversion — Low-level routines for converting text from one charset to another
String conversion helpers — High-level routines for converting text from one charset to another
Content transfer encodings — Content transfer encoding names
Text converters — Streaming plain and flowed text conversion
HTML compliance diagnostics — HTML recovery diagnostics and reporting limits
RTF compliance diagnostics — RTF recovery diagnostics and reporting limits
GMimeRtfToText — Render Rich Text Format as plain text
GMimeRtfToHtml — Render RTF or extract its encapsulated HTML
GMimeHtmlEntityDecoder — Incremental named and numeric character references
GMimeHtmlToken — Immutable, reference-counted HTML lexical tokens
GMimeHtmlTokenizer — Streaming HTML lexical and structural state machine
HTML text utilities — UTF-8 HTML text and attribute encoding and decoding
GMimeHtmlWriter — Stateful UTF-8 HTML serialization
GMimeHtmlTagContext — Borrowed tag metadata and conversion decisions
GMimeHtmlToHtml — HTML rewriting with callbacks and compliance reporting
GMimeHtmlToText — Plain-text rendering of HTML
GMimeTextToHtml — Quoting, hyperlink detection, and HTML callbacks
GMimeFlowedToHtml — RFC 3676 paragraphs and blockquotes
GMimeEnrichedToHtml — Bounded streaming text/enriched conversion
GMimeTextPreviewer — Bounded previews of plain text and HTML
URL scanning — Find URLs and email addresses in UTF-8 text
GMimeEncoder — Incremental MIME encoder interface
GMimeDecoder — Incremental MIME decoder interface
MIME codecs — Concrete MIME encoders and decoders
yEnc blocks — Streaming framed yEnc readers and writers
MIME utilities — MIME utility functions
MIME types — File extension and MIME-type mappings
GMimeMessageIdList — Mutable message identifier lists
GMimeFormatOptions — Format options
GMimeAutocryptHeader — A header containing cryptographic information about the sending address
IV. GMime Classes
Class hierarchy
Streams
GMimeStream — Abstract stream class
GMimeStreamFile — A Standard-C FILE-based stream
GMimeStreamFs — A low-level FileSystem stream
GMimeStreamGIO — A wrapper for GLib's GIO streams
GMimeStreamMem — A memory-backed stream
GMimeStreamMmap — A memory-mapped file stream
GMimeStreamNull — A null stream
GMimeStreamFilter — A filtering stream
GMimeStreamBuffer — A buffered stream
GMimeStreamBlock — Non-contiguous memory streams
GMimeStreamPipe — A low-level pipe stream
GMimeStreamCat — A concatenated stream
Stream Filters
GMimeFilter — Abstract filter class
GMimeFilterAnonymize — Byte-oriented content anonymization filter
GMimeFilterBasic — Basic transfer encoding filter
GMimeFilterBest — Determine the best charset/encoding to use for a stream
GMimeFilterCharset — Charset-conversion filter
GMimeFilterChecksum — Calculate a checksum
GMimeFilterDos2Unix — Convert line-endings from Windows/DOS (CRLF) to UNIX (LF).
GMimeFilterEnriched — Convert text/enriched or text/rtf to HTML
GMimeFilterFrom — Escape MBox From_ lines
GMimeFilterGZip — GNU Zip compression/decompression
GMimeFilterOpenPGP — Detect OpenPGP markers.
GMimeFilterPassThrough — Zero-copy pass-through filter
GMimeFilterRtfCompressed — Compress or decompress RTF streams
GMimeFilterSmtpData — Byte-stuffs outgoing SMTP DATA.
GMimeFilterStrip — Strip trailing whitespace from the end of lines
GMimeFilterUnix2Dos — Convert line-endings from UNIX (LF) to Windows/DOS (CRLF).
GMimeFilterWindows — Determine if text is in a Microsoft Windows codepage
MIME part content
GMimeContent — Content objects
Message and MIME Headers
GMimeHeaderList — Message and MIME part headers
GMimeReceivedClause — Received header clauses
GMimeReceived — Received header values
GMimeAuthenticationResults — Authentication result header models
GMimeAnonymizer — Structure-preserving MIME anonymization
GMimeHeaderListCollection — Ordered collections of header groups
GMimeContentType — Content-Type fields
GMimeContentDisposition — Content-Disposition fields
GMimeParamList — Content-Type and Content-Disposition parameters
Internet Addresses
GMimeInternetAddress — Internet addresses
GMimeGroupAddress — rfc822 'group' address
GMimeMailboxAddress — rfc822 'mailbox' address
GMimeInternetAddressList — A list of internet addresses
GMimeDomainList — Mailbox source-route domains
SMTP address validation — Validate envelope mailbox addresses
MIME Messages and Parts
GMimeEntity — Abstract MIME objects
GMimeAttachmentCollection — Constructing attachments and linked resources
GMimeBodyBuilder — Building common MIME message bodies
GMimeMessage — Messages
GMimePart — MIME parts
GMimeTextPart — textual MIME parts
GMimeMultipart — MIME multiparts
GMimeMultipartAlternative — Alternative MIME representations
GMimeMultipartRelated — Related MIME parts with a root document
GMimeMultipartReport — Mail report containers
GMimeMultipartEncrypted — Encrypted MIME multiparts
GMimeMultipartSigned — Signed MIME multiparts
GMimeApplicationPkcs7Mime — Pkcs7 MIME parts
GMimeMessagePart — Message parts
GMimeTextRfc822Headers — Encapsulated message headers
GMimeMessageDispositionNotification — Message disposition notification parts
GMimeMessageDeliveryStatus — Message delivery status parts
GMimeMessageFeedbackReport — Message feedback report parts
GMimeMessagePartial — Partial MIME parts
GMimeIterator — Depth-first MIME tree traversal and path navigation
GMimeVisitor — Extensible MIME tree visitors
Parsing Messages and MIME Parts
GMimeParserOptions — Parser options
GMimeParser — Message and MIME part parser
GMimeReader — Forward-only MIME wire reader
MIME compliance — Optional diagnostic reporting for MIME readers
Low-level TNEF
TNEF attributes and property tags — Identify attributes, property types and named properties
GMimeTnefOptions — Configure TNEF decoding limits and compliance reporting
GMimeTnefReader — Read TNEF attributes from a forward-only stream
GMimeTnefPropertyReader — Read MAPI properties and their values within a TNEF attribute
GMimeTnefMessage — Access message bodies, recipients and attachments
GMimeTnefPart — A TNEF attachment
TNEF to MIME conversion — Convert a TNEF message and inspect conversion losses
GMimeTnefWriter — Write TNEF attributes to a stream
GMimeTnefPropertyWriter — Write MAPI properties, recipient rows and embedded messages
TNEF properties — Inspect materialized MAPI properties and property sets
GPGME Integration
GPGME integration — MIME operations using caller-owned GPGME contexts
Inline OpenPGP — Non-mutating discovery of independent inline-PGP blocks