updated documentation
authorlkehresman <lkehresman@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Tue, 14 Dec 1999 19:17:24 +0000 (19:17 +0000)
committerlkehresman <lkehresman@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Tue, 14 Dec 1999 19:17:24 +0000 (19:17 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@78 7612ce4b-ef26-0410-bec9-ea0150e637f0

doc/message_array.doc

index 2b9cc0eb2624fa2b6243ff041edd897791a5f3b3..00593b360292b579f9d15a88c064e22ecf537931 100644 (file)
@@ -2,34 +2,36 @@ Here is a map of the message array that contains all the information about
 a message.  A single part message is handled the same as a multipart message,
 except in the "ENTITIES" part, there would only be one entry (0).
 
 a message.  A single part message is handled the same as a multipart message,
 except in the "ENTITIES" part, there would only be one entry (0).
 
-$message     ["HEADER"]                      (array)
-                  ["TO"]                     (array)
-                  ["CC"]                     (array)
-                  ["SUBJECT"]                (string)
-                  ["FROM"]                   (string)
-                  ["REPLYTO"]                (string)
-                  ["MAILER"]                 (string)
-                  ["TYPE0"]                  (string)
-                  ["TYPE1"]                  (string)
-                  ["BOUNDARY"]               (string)
-                  ["CHARSET"]                (string)
+$message     ["HEADER"]                    (array)
+                ["TO"]                     (array)
+                ["CC"]                     (array)
+                ["SUBJECT"]                (string)
+                ["FROM"]                   (string)
+                ["REPLYTO"]                (string)
+                ["MAILER"]                 (string)
+                ["TYPE0"]                  (string)
+                ["TYPE1"]                  (string)
+                ["BOUNDARY"]               (string)
+                ["CHARSET"]                (string)
+                ["MIME"]                   (boolean)
+                ["ENCODING"]               (string)
 
 
-             ["ENTITIES"]                    (array)
-                  [0]                        (array)
-                     ["TYPE0"]               (string)
-                     ["TYPE1"]               (string)
-                     ["CHARSET"]             (string)
-                     ["BOUNDARY"]            (string)
-                     ["PRIORITY"]            (integer)
-                     ["BODY"]                (array of strings)
+             ["ENTITIES"]                  (array)
+                [0]                        (array)
+                   ["TYPE0"]               (string)
+                   ["TYPE1"]               (string)
+                   ["CHARSET"]             (string)
+                   ["BOUNDARY"]            (string)
+                   ["PRIORITY"]            (integer)
+                   ["BODY"]                (array of strings)
 
 
-                 [1]                         (array)
-                     ["TYPE0"]               (string)
-                     ["TYPE1"]               (string)
-                     ["CHARSET"]             (string)
-                     ["BOUNDARY"]            (string)
-                     ["PRIORITY"]            (integer)
-                     ["BODY"]                (array of strings)
+                [1]                        (array)
+                   ["TYPE0"]               (string)
+                   ["TYPE1"]               (string)
+                   ["CHARSET"]             (string)
+                   ["BOUNDARY"]            (string)
+                   ["PRIORITY"]            (integer)
+                   ["BODY"]                (array of strings)
              .
              .
              .
              .
              .
              .
@@ -49,6 +51,8 @@ $message     ["HEADER"]
                   ["TYPE1"]                  "alternative"
                   ["BOUNDARY"]               "--blkjoaiu2093ojv0q9"
                   ["CHARSET"]                "us-ascii"
                   ["TYPE1"]                  "alternative"
                   ["BOUNDARY"]               "--blkjoaiu2093ojv0q9"
                   ["CHARSET"]                "us-ascii"
+                  ["MIME"]                   true
+                  ["ENCODING"]               "us-ascii"
 
              ["ENTITIES"]
                   [0]
 
              ["ENTITIES"]
                   [0]
@@ -69,4 +73,4 @@ $message     ["HEADER"]
                      ["PRIORITY"]            20
                      ["BODY"]                "<B>This is just a test to see</B><BR>"
                                              "<FONT FACE="Arial,Helvetica">how this will handle a message"
                      ["PRIORITY"]            20
                      ["BODY"]                "<B>This is just a test to see</B><BR>"
                                              "<FONT FACE="Arial,Helvetica">how this will handle a message"
-                                             "for this example</FONT>"
\ No newline at end of file
+                                             "for this example</FONT>"