I am creating a new project in googlecode. The name was phpMailDomainSigner. It supports the DKIM signature and the DomainKey signature in an object-oriented style.
Here is an example:
// Create mailDomainSigner Object include_once './lib/class.mailDomainSigner.php'; $mds = &new mailDomainSigner($domain_priv,$domain_d,$domain_s); $new_data = $mds->sign( $mail_data, "Message-ID:Subject:From:Content-Type:MIME-Version:Content-Transfer-Encoding:Received:To:Date", true,true,false);
source share