Re: getting body from message-entity programatically (was: get subject and from on wl-biff-notify-hook function)

Kazuhiro Ito <[email protected]> Fri, 09 Aug 2019 20:57:09 +0900
Newsgroups gmane.mail.wanderlust.general.japanese
Message-ID <[email protected]>
> elmo-message-fetch-string is giving me: 
(snip)
> Which is a kind of raw text. Is it possible to get just the
> body?. Should I grep It and get everything after the line with X-TUID?

The blank-line is a separator between header and body.

(let ((message-text "From: fff\n\nbody of text.")
      index)
  (setq index (string-match "^$" message-text))
  (when index
    (substring message-text (1+ index))))

-- 
Kazuhiro Ito