Skip to content

Commit

Permalink
Add test for sending DKIM-signed message via mail()
Browse files Browse the repository at this point in the history
  • Loading branch information
Synchro committed Sep 12, 2017
1 parent 5058175 commit 2feb461
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/phpmailerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -1926,6 +1926,8 @@ public function testDKIM()
$this->Mail->DKIM_selector = 'phpmailer';
$this->Mail->DKIM_passphrase = ''; //key is not encrypted
$this->assertTrue($this->Mail->send(), 'DKIM signed mail failed');
$this->Mail->isMail();
$this->assertTrue($this->Mail->send(), 'DKIM signed mail via mail() failed');
unlink($privatekeyfile);
}

Expand Down

0 comments on commit 2feb461

Please sign in to comment.