Apache Zeta Components: Doing mail right
This article was originally published at Planet PHP
on 25 November 2010.
Sending and receiving mail is a regular, but often cumbersome task. Especially, when it comes to more complex mails than just plain text. html and alternate text parts, embedded images, attachments and digests can make your brain spin if you need to do it yourself. The Apache Zeta Mail component makes it easy for you to send such mails, but also to receive them! In this article I show you how to send html emails with embedded images and how to receive all mails from an IMAP server and forward them in a single mail, using a digest.