@@ -104,9 +104,9 @@ function_requirements('whm_api');
104104 } else {
105105 myadmin_log (self ::$ module , 'info ' , "Error Giving Website {$ serviceInfo [$ settings ['PREFIX ' ].'_id ' ]} IP {$ serviceInfo [$ settings ['PREFIX ' ].'_ip ' ]}" , __LINE__ , __FILE__ );
106106 $ headers = '' ;
107- $ headers .= 'MIME-Version: 1.0 ' .EMAIL_NEWLINE ;
108- $ headers .= 'Content-type: text/html; charset=UTF-8 ' .EMAIL_NEWLINE ;
109- $ headers .= 'From: ' .TITLE .' < ' .EMAIL_FROM .'> ' .EMAIL_NEWLINE ;
107+ $ headers .= 'MIME-Version: 1.0 ' .PHP_EOL ;
108+ $ headers .= 'Content-type: text/html; charset=UTF-8 ' .PHP_EOL ;
109+ $ headers .= 'From: ' .TITLE .' < ' .EMAIL_FROM .'> ' .PHP_EOL ;
110110 $ subject = 'Error Setting IP ' .$ serviceInfo [$ settings ['PREFIX ' ].'_ip ' ].' on ' .$ settings ['TBLNAME ' ].' ' .$ serviceInfo [$ settings ['TITLE_FIELD ' ]];
111111 admin_mail ($ subject , $ subject , $ headers , FALSE , 'admin/website_no_ips.tpl ' );
112112 }
@@ -172,9 +172,9 @@ function_requirements('whm_api');
172172 } else {
173173 myadmin_log (self ::$ module , 'info ' , "Error Giving Website {$ serviceInfo [$ settings ['PREFIX ' ].'_id ' ]} Main IP {$ serviceInfo [$ settings ['PREFIX ' ].'_ip ' ]}" , __LINE__ , __FILE__ );
174174 $ headers = '' ;
175- $ headers .= 'MIME-Version: 1.0 ' .EMAIL_NEWLINE ;
176- $ headers .= 'Content-type: text/html; charset=UTF-8 ' .EMAIL_NEWLINE ;
177- $ headers .= 'From: ' .TITLE .' < ' .EMAIL_FROM .'> ' .EMAIL_NEWLINE ;
175+ $ headers .= 'MIME-Version: 1.0 ' .PHP_EOL ;
176+ $ headers .= 'Content-type: text/html; charset=UTF-8 ' .PHP_EOL ;
177+ $ headers .= 'From: ' .TITLE .' < ' .EMAIL_FROM .'> ' .PHP_EOL ;
178178 $ subject = 'Error Reverting To Main IP ' .$ serviceInfo [$ settings ['PREFIX ' ].'_ip ' ].' on ' .$ settings ['TBLNAME ' ].' ' .$ serviceInfo [$ settings ['TITLE_FIELD ' ]];
179179 admin_mail ($ subject , $ subject , $ headers , FALSE , 'admin/website_no_ips.tpl ' );
180180 }
@@ -185,9 +185,9 @@ function_requirements('whm_api');
185185 $ email = $ settings ['TBLNAME ' ].' ID: ' .$ serviceInfo [$ settings ['PREFIX ' ].'_id ' ].'<br> ' .$ settings ['TBLNAME ' ].' Hostname: ' .$ serviceInfo [$ settings ['PREFIX ' ].'_hostname ' ].'<br>Description: ' .self ::$ name .'<br> ' ;
186186 $ subject = $ settings ['TBLNAME ' ].' ' .$ serviceInfo [$ settings ['PREFIX ' ].'_id ' ].' Canceled Dedicated IP ' ;
187187 $ headers = '' ;
188- $ headers .= 'MIME-Version: 1.0 ' .EMAIL_NEWLINE ;
189- $ headers .= 'Content-type: text/html; charset=UTF-8 ' .EMAIL_NEWLINE ;
190- $ headers .= 'From: ' .$ settings ['TITLE ' ].' < ' .$ settings ['EMAIL_FROM ' ].'> ' .EMAIL_NEWLINE ;
188+ $ headers .= 'MIME-Version: 1.0 ' .PHP_EOL ;
189+ $ headers .= 'Content-type: text/html; charset=UTF-8 ' .PHP_EOL ;
190+ $ headers .= 'From: ' .$ settings ['TITLE ' ].' < ' .$ settings ['EMAIL_FROM ' ].'> ' .PHP_EOL ;
191191 admin_mail ($ subject , $ email , $ headers , FALSE , 'admin/website_ip_canceled.tpl ' );
192192 }
193193
0 commit comments