MIME::Tools::primer - introduction to basic MIME concepts
Start with the ``entity'' entry.
In the MIME-tools system, an attachment is just a MIME::Entity stored in the parts list of the entity it is ``attached'' to.
See ``parts()'' in MIME::Entity for more details.
In the MIME-tools system, a body is represented by an instance of MIME::Body. You get the body of an entity by invoking the bodyhandle() method.
See MIME::Body for more details.
In the MIME-tools system, a body part is represented by an instance of MIME::Entity, just like any other entity.
See MIME::Entity for more details.
The whole point of the MIME standard is to define how entities are represented when they travel through email. Roughly speaking, all entities (even images) are commonly encoded as ASCII text: the ancillary information comes first, then a blank line, then the encoded data.
For this reason, we refer to the ancillary-information portion as the header, and the encoded-data portion as the body. All entities have a header and a body.
In the MIME-tools system, an entity is represented by an instance of MIME::Entity. The entity's header is represented by an instance of MIME::Head. If the entity contains simple data, then the body is represented by an instance of MIME::Body; if, however, it is a special type of ``multipart'' entity which just contains other entities, then it will have no body object but a list of ``parts'' instead.
See MIME::Entity, MIME::Head, and MIME::Body for more details.
In the MIME-tools system, a header is represented by an instance of MIME::Head. You get the header of an entity by invoking the head() method.
See MIME::Head for more details.
In the MIME-tools system, messages are what we parse from filehandles to obtain MIME::Entity objects.
Закладки на сайте Проследить за страницей |
Created 1996-2024 by Maxim Chirkov Добавить, Поддержать, Вебмастеру |