FunctionPackage: net.post-officeToCDocOverviewCGDocRelNotesIndexPermutedIndex
Allegro CL version 6.2
Unrevised from 6.1

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-2002, Franz Inc. Oakland, CA., USA. All rights reserved.
Documentation for Allegro CL version 6.2. This page was not revised from the 6.1 page.
Created 2002.2.26.

ToCDocOverviewCGDocRelNotesIndexPermutedIndex
Allegro CL version 6.2
Unrevised from 6.1