-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathversandgigant-wp-signed-smime-mails.php
58 lines (51 loc) · 1.71 KB
/
versandgigant-wp-signed-smime-mails.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
<?php
/**
* Versandgigant WP Signed S/MIME Mails
*
* Versandgigant is using this WordPress plugin to sign outgoing emails.
* No matter if you're trying to sign WordPress or WooCommerce confirmation
* emails, all will get signed with the central certificate.
* Small, elegant and quick. Get that ''verified'' blue star in your customer's inbox.
*
* * Plugin Name: Versandgigant WP Signed S/MIME Mails
* * Plugin URI: https://github.com/p-w/versandgigant-wp-signed-smime-mails
* * Description: Fast and reliable way to configure a WordPress or WooCommerce website to send S/MIME signed mails. Easy, secure, fast, performing and encryption ready.
* * Version: 1.0
* * License: GPL-3.0
* * License URI: https://www.gnu.org/licenses/gpl-3.0.en.html
* * Text Domain: vg-wp-simple-smtp-emails
*
* @license https://www.gnu.org/licenses/gpl-3.0.en.html
*/
if ( ! defined( 'ABSPATH' ) ) {
// Disallow direct HTTP access.
exit;
}
/**
* Base class for WordPress to register and initialize this plugin.
*/
class VG_WP_Simple_SMIME_Emails {
/**
* Entry point for the WordPress framework into plugin code.
*
* This is the method called when WordPress loads the plugin file.
* It is responsible for "registering" the plugin's main functions
* with the {@see https://codex.wordpress.org/Plugin_API WordPress Plugin API}.
*
* @uses add_action()
*
* @return void
*/
public static function register () {
add_action( 'phpmailer_init', array( __CLASS__, 'phpmailer_init' ) );
}
/**
* Overriding the PHPMailer default configuration with mail account
* settings defined in wp-config.php
*
* @return void
*/
public static function phpmailer_init ( $phpmailer ) {
}
}
VG_WP_Simple_SMIME_Emails::register();