Plasma GitLab Archive
Projects Blog Knowledge

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)

This web site is published by Informatikbüro Gerd Stolpmann
Powered by Caml