Skip to content

Commit 627fdc4

Browse files
committed
updates
1 parent 009713f commit 627fdc4

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

src/Plugin.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -73,9 +73,9 @@ public static function loadProcessing(GenericEvent $event) {
7373
$email = $smarty->fetch('email/admin/ssl_created.tpl');
7474
$subject = 'New SSL Certificate Created '.$serviceInfo[$settings['TITLE_FIELD']];
7575
$headers = '';
76-
$headers .= 'MIME-Version: 1.0'.EMAIL_NEWLINE;
77-
$headers .= 'Content-type: text/html; charset=UTF-8'.EMAIL_NEWLINE;
78-
$headers .= 'From: '.TITLE.' <'.EMAIL_FROM.'>'.EMAIL_NEWLINE;
76+
$headers .= 'MIME-Version: 1.0'.PHP_EOL;
77+
$headers .= 'Content-type: text/html; charset=UTF-8'.PHP_EOL;
78+
$headers .= 'From: '.TITLE.' <'.EMAIL_FROM.'>'.PHP_EOL;
7979
admin_mail($subject, $email, $headers, FALSE, 'admin/ssl_created.tpl');
8080
})->setReactivate(function($service) {
8181
$serviceTypes = run_event('get_service_types', FALSE, self::$module);
@@ -90,9 +90,9 @@ public static function loadProcessing(GenericEvent $event) {
9090
$email = $smarty->fetch('email/admin/ssl_reactivated.tpl');
9191
$subject = $serviceInfo[$settings['TITLE_FIELD']].' '.$serviceTypes[$serviceInfo[$settings['PREFIX'].'_type']]['services_name'].' '.$settings['TBLNAME'].' Re-Activated';
9292
$headers = '';
93-
$headers .= 'MIME-Version: 1.0'.EMAIL_NEWLINE;
94-
$headers .= 'Content-type: text/html; charset=UTF-8'.EMAIL_NEWLINE;
95-
$headers .= 'From: '.TITLE.' <'.EMAIL_FROM.'>'.EMAIL_NEWLINE;
93+
$headers .= 'MIME-Version: 1.0'.PHP_EOL;
94+
$headers .= 'Content-type: text/html; charset=UTF-8'.PHP_EOL;
95+
$headers .= 'From: '.TITLE.' <'.EMAIL_FROM.'>'.PHP_EOL;
9696
admin_mail($subject, $email, $headers, FALSE, 'admin/ssl_reactivated.tpl');
9797
})->setDisable(function() {
9898
})->register();

0 commit comments

Comments
 (0)