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.

class Object
trait Matchable
class Any

Value members

Concrete methods

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