email is awesome

my favorite part of mbox_parse.c:

/**
 * List of all C-T-E Types found on httpd-dev and FreeBSD-current:
 *
 * Content-Transfer-Encoding:      8bit
 * Content-Transfer-Encoding:  7bit
 * Content-Transfer-Encoding: 7BIT
 * Content-Transfer-Encoding: 7Bit
 * Content-Transfer-Encoding: 7bit
 * Content-Transfer-Encoding: 8-bit
 * Content-Transfer-Encoding: 8BIT
 * Content-Transfer-Encoding: 8Bit
 * Content-Transfer-Encoding: 8bit
 * Content-Transfer-Encoding: BASE64
 * Content-Transfer-Encoding: BINARY
 * Content-Transfer-Encoding: Base64
 * Content-Transfer-Encoding: QUOTED-PRINTABLE
 * Content-Transfer-Encoding: Quoted-Printable
 * Content-Transfer-Encoding: base64
 * Content-Transfer-Encoding: binary
 * Content-Transfer-Encoding: none
 * Content-Transfer-Encoding: quoted-printable
 * Content-Transfer-Encoding: x-uuencode
 * Content-Transfer-Encoding:7bit
 * Content-Transfer-Encoding:quoted-printable
 *
 * This is why we have RFCs.
 */
This entry was posted in Uncategorized. Bookmark the permalink.

3 Responses to email is awesome

  1. Rob Chiniquy says:

    Mail headers suck. I’m surprised there aren’t french, spanish, and portuguese translations of “quoted printable” on there. All the fields suck but I remember mail header date formats being the most wildly random, back when I had to worry about that.

    Also, this:

    else if (strchr(src, ‘q’)) {
    return CTE_QP;
    }

    is pretty funny.

  2. chip says:

    @Bjorn: Actually, I went to that talk at OSCON. I kinda knew what it was going to be about, but always good to remind yourself that while SOAP/HTTP might seem painful at times, email is worse, far worse.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>