Ocamlnet 3 Reference Manual : Netmime.memory_mime_body

# Class Netmime.memory_mime_body

    class memory_mime_body : ?ro:bool -> string -> mime_body

An implementation of `mime_body` where the value is stored in-memory.

The argument is the initial (decoded) value of the body. The method `store` returns ``Memory`.

Example: To create a body from a string, call

     new memory_mime_body "The value as string"

`ro` : whether the body is read-only (default: false)