File tree 1 file changed +7
-6
lines changed
1 file changed +7
-6
lines changed Original file line number Diff line number Diff line change 15
15
* @version 1.1 09.09.2022 (named headers and reply-to feature)
16
16
* @version 1.1.1 29.02.2023 (email regexp allows absence of space between name and address)
17
17
* @version 1.1.2 02.11.2024 (php8 hotfix: message must starts with '\n')
18
+ * @version 1.1.3 05.11.2024 (fixed trim nulls deprecation)
18
19
*/
19
20
class MultipartEmail
20
21
{
21
22
const EMAIL_REGEXP = "/^(.+)\s*<(.+\@.+)>$/i " ;
22
23
23
24
protected $ charset = 'UTF-8 ' ;
24
- protected $ text ;
25
- protected $ html ;
26
- protected $ from ;
27
- protected $ to ;
28
- protected $ reply_to ;
29
- protected $ subject ;
25
+ protected $ text = '' ;
26
+ protected $ html = '' ;
27
+ protected $ from = '' ;
28
+ protected $ to = '' ;
29
+ protected $ reply_to = '' ;
30
+ protected $ subject = '' ;
30
31
protected $ attachments = array ();
31
32
protected $ headers = array ();
32
33
You can’t perform that action at this time.
0 commit comments