PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
I'm actually working on a class to turn an email into a Swift_Message object at the moment. Basically, Swift already works the other way around and compiles it's own format into a RFC 2822 (+ a few others) compliant string, I just want to also do the opposite. It'll be a month or so at least yet though.
Sadly, it involves reading a lot of RFCs and pulling out a lot of hair. I think there may be some PEAR_IMAP classes or something like that but ones I found in the past were not brilliant and were no longer in development.