The Postmark PHP class, slightly modified to work with the Yii Framework