Title: DKIM
Last modified: August 21, 2016

---

# DKIM

 *  Resolved [Kimberly](https://wordpress.org/support/users/kellogg9/)
 * (@kellogg9)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/dkim/)
 * Although this has nothing to do with your plugin one inherent problem with WordPress
   to this day still is the issue of sites making use of DKIM for sending out mail(
   servers may automatically include it). When the signature isnt properly put into
   outgoing email the recipient (who potentially verifies against it) will either
   not receive the signature or an imporperly made one.
 * The way to resolve this is quite simple and involves adding a few lines in their
   plugable.php file. This file incidentally is what plugins like Mail on Update
   uses when sending out email. More specifically it uses wp_mail() function. The
   problem with this function is that needs the following two lines before DKIM 
   can work properly:
 *  if (strlen($phpmailer->Sender)==0)
    { $phpmailer->Sender = $phpmailer->From;
   $phpmailer->AddReplyTo($phpmailer->From); }
 * Without it plugins like “Mail on Update” will not work (you don’t receive emails).
   I have resorted to duplicating the wp_mail() function and placing it inside this
   plugin (since wp_mail() can naturally be overrriden by plugins) and have added
   the missing lines. This has fixed my problem and incidentally has also fixed 
   all my other plugins who were using wp_mail() too. Yay!
 * So although this has nothing to do with this plugin i decided to point this out
   and maybe ask if this could be included so those who make use of such spam fighting
   techniques can also benefit. By for the long term it seems more a WordPress flaw.
   I originally opened a bug on this well over a year ago (see WordPress Trac #22837)
   and only recently has the problem been taken seriously and elevated to Major 
   Bug. So maybe WordPress will finally fix it or maybe you or another plugin will
   just add the fix in officially and be done with it.
 * Cheers.
 * [http://wordpress.org/plugins/mail-on-update/](http://wordpress.org/plugins/mail-on-update/)

The topic ‘DKIM’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/mail-on-update_efefef.svg)
 * [Mail On Update](https://wordpress.org/plugins/mail-on-update/)
 * [Support Threads](https://wordpress.org/support/plugin/mail-on-update/)
 * [Active Topics](https://wordpress.org/support/plugin/mail-on-update/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/mail-on-update/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/mail-on-update/reviews/)

## Tags

 * [dkim](https://wordpress.org/support/topic-tag/dkim/)

 * 0 replies
 * 1 participant
 * Last reply from: [Kimberly](https://wordpress.org/support/users/kellogg9/)
 * Last activity: [12 years, 4 months ago](https://wordpress.org/support/topic/dkim/)
 * Status: resolved