- Once all of the structure of the message has been read into the $message
- object, we then need to display the body of one entity. There are a number
- of ways we decide which entity to display at a certain time, and I won't go
- into that here.
-
- Each entity has its own ID. Entity IDs look something like "1.2.1", or
- "4.1", or just "2". You can find a detailed description of how entities
- should be identified by reading RFC 2060 section 6.4.5. To fetch the body
- of a particular entity, we use the function "BODY[<section>]". For
- instance, if we were wanting to return entity 1.2.1, we would send the
- IMAP server the command: "a001 FETCH <msg_id> BODY[1.2.1]".
+Each entity has its own ID. Entity IDs look something like "1.2.1", or
+"4.1", or just "2". You can find a detailed description of how entities
+should be identified by reading RFC 2060 section 6.4.5. To fetch the body
+of a particular entity, we use the function "BODY[<section>]". For
+instance, if we were wanting to return entity 1.2.1, we would send the
+IMAP server the command: "a001 FETCH <msg_id> BODY[1.2.1]".