HtmlBodyView

emil.jsoup.HtmlBodyView
object HtmlBodyView

Creates a valid html document given a `MailBody'.

Often, html body parts are only html snippets, missing a valid html' declaration. If the body is text/plain, it is converted into basic html. Theemil-markdown' module should be included to supply a more sophisticated text->html conversion.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete methods

def apply[F[_] : Applicative](body: MailBody[F], meta: Option[MailHeader], config: HtmlBodyViewConfig): F[BodyContent]