FunctionPackage: net.post-officeToCDocOverviewCGDocRelNotesIndexPermutedIndex
Allegro CL version 6.1
Minimally revised

parse-mail-header

Arguments: text

text is a string that is the first part of a mail message, including at least all of the headers lines and the blank line following the headers. Given this partial text of a mail message, this function returns two values.

The first returned value is an assoc list of (header . content) items. Both the header and content are strings. Note that header names will most likely be mixed case (but this is not a requirement) so you'll want to use :test #'equalp when searching for a particular header with assoc.

The second returned value is a string that is everything after the headers (which is often referred to as the body of the message).

See imap.htm for more information.


Copyright (c) 1998-2001, Franz Inc. Berkeley, CA., USA. All rights reserved.
Documentation for Allegro CL version 6.1 update # 1. This page has had minimal revisions.
Created 2001.12.15.

ToCDocOverviewCGDocRelNotesIndexPermutedIndex
Allegro CL version 6.1
Minimally revised