unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Wamm K. D. <jaft.r@outlook.com>
To: help-gnu-emacs@gnu.org
Subject: Help with IMAP Package/Library, Retrieving Headers
Date: Thu, 06 Oct 2022 03:02:57 -0500	[thread overview]
Message-ID: <BY5PR07MB7029C661F662B183EBDDA4DB995C9@BY5PR07MB7029.namprd07.prod.outlook.com> (raw)

Hello! I'm been playing around with =imap.el= and have been making
fetches and retrieving info. with various functions like
~imap-message-envelope-from~ and ~imap-message-body~.

While pretty nifty, it seems like other elements of the E-mail are
more difficult to procure. For example, I can fetch "RFC822.HEADER"
and "RFC822.TEXT" but there isn't any real helper method to grab these
parts.

I can get around this with something like ~(imap-message-get uid
'RFC822.HEADER buffer)~ but, then, I just get the raw text of the
header; there's no processing of it into something like an alist or
the like.

Is there some other function or library that could do this? Or am I
stuck with doing the processing of the headers myself?



                 reply	other threads:[~2022-10-06  8:02 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=BY5PR07MB7029C661F662B183EBDDA4DB995C9@BY5PR07MB7029.namprd07.prod.outlook.com \
    --to=jaft.r@outlook.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).