Skip to content

Commit

Permalink
Update AeriaSES.php
Browse files Browse the repository at this point in the history
  • Loading branch information
kopiro committed Mar 30, 2015
1 parent e98b886 commit 95188ef
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions classes/AeriaSES.php
Original file line number Diff line number Diff line change
Expand Up @@ -48,12 +48,12 @@ public static function enable() {
add_action('phpmailer_init', function(&$phpmailer) {

if (static::$client == null) {
require_once __DIR__.'/../vendor/aws.phar';
require __DIR__.'/../vendor/aws.phar';
static::$client = Aws\Ses\SesClient::factory(static::$config);
}

$phpmailer = new SesClientProxyForPHPMailer($phpmailer);
});
}

}
}

0 comments on commit 95188ef

Please sign in to comment.