Commit graph

5 commits

Author SHA1 Message Date
thomppj
caeff8b548 First, more formatting conventions.
1. Wrap all operands of a complex expression with parentheses.
     For instance:
         if ($bob == 'foo' || $bob == 'bar') {
     is wrong. Do this instead:
         if (($bob == 'foo') || ($bob == 'bar')) {

  2. Carefully decide between pre and post incrementation. If it
     does not matter, always choose pre because it is technically
     more efficient. For instance:
         for ($i = 0; $i < $count; $i++) {
     is wrong. Do this instead:
         for ($i = 0; $i < $count; ++$i) {

  3. Classes should be named in style like this:
         MessageHeader
         Rfc8222Header
     etc. When there is an acronym at the beginning, treat it
     like a word - do NOT captitalize each letter of the acronym.

  4. Put each class in a seperate file named ClassName.class.php.
     Related classes can be put in one directory and then included
     in a main include file.

Second, big changes with mime.class.php here. And I don't think I broke
anything. (Sounds like famous last words, eh?)
2002-08-29 23:42:46 +00:00
philippe_mingo
6a1659b234 Masato
Japanes patch
2002-08-22 09:33:09 +00:00
jmunro
e4137aaffa E_ALL warning fix 2002-07-14 01:48:59 +00:00
stekkel
76cdbf2c36 Added search for "x-mailer" and "disposition notification to" and add it to
the message header. Now we don't need the extra imap-calls to get this
information.
2002-07-05 13:15:55 +00:00
stekkel
25c860137f place to put parse functions 2002-07-03 13:53:35 +00:00