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

Kazuhiro Ito <[email protected]> Mon, 05 Aug 2019 18:15:15 +0900
Newsgroups gmane.mail.wanderlust.general.japanese
Message-ID <[email protected]>
> But. I would like also to include in the notification the first line of
> the body. How Could I get the body of the message?

Try below.  See elmo-message-fetch function for arguments of
elmo-message-fetch-string.

(let ((elmo-folder (wl-folder-get-elmo-folder "+spam"))
      (number 1))
  (elmo-folder-open elmo-folder)
  (elmo-message-fetch-string
   elmo-folder number (elmo-find-fetch-strategy elmo-folder number) t))

-- 
Kazuhiro Ito