@@ -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