I have setup DKIM in my google apps for mail signing, when sending mails through GMail interface it signs the mail but when I send a mail through my webserver using SMTP (from CodeIgniter) it doesnt signs the mail.
Can anybody help me what should I do?
Yes, it's actually a server configuration thing. But since you posted on SO, there is also a way to sign the mails manually from within PHP. http://php-dkim.sourceforge.net/
Also had been covered before here: Setting up DomainKeys/DKIM in a PHP-based SMTP client
I create new project in googlecode. the name was phpMailDomainSigner It support DKIM-Signature and DomainKey-Signature in Object Oriented Style.
Here some 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);
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With