Send Mail Through Openpgp

I want to encrypt the email (include in all contains and attachment) through OpenPGP. can anybody have any idea on this?

Nothing Yii specific but Google turns up this article: