ralf
5ef378abef
fixing ValueError: str_repeat(): Argument #2 ($times) must be greater than or equal to 0
...
fixes 1894a19a86
2023-04-27 11:01:30 +02:00
ralf
1894a19a86
fix ValueError: str_repeat(): Argument #2 ($times) must be greater than or equal to 0
...
Also replace HTML entities, as we're converting to text
2022-06-21 14:15:28 +02:00
ralf
ced6c77f46
fix PHP 8.x TypeError sending mail
2022-05-10 18:43:30 +02:00
ralf
c4e0989bf9
replace original message header with fieldset in html and convert it to plain as before
2022-05-10 11:51:35 +02:00
Ralf Becker
57ac760a78
fix PHP 8.0 ValueError: stripos(): Argument #3 ($offset) must be contained in argument #1 ($haystack)
2021-11-05 11:38:49 +01:00
Hadi Nategh
1f28336702
Fix stripos(): Argument #3 ($offset) must be contained in argument #1 ($haystack) by preventing empty html value being processed
2021-11-04 14:12:21 +01:00
Ralf Becker
91bd7c7aeb
an other chunk of fixed PHP 8.0 Warnings
2021-10-07 10:14:43 +02:00
Hadi Nategh
ab3ee4ffbb
Clear xml errors in buffer after using xml in Mail otherwise it may get caught wrongly further in etemplate widget
2021-06-04 11:19:11 +02:00
Hadi Nategh
59dbd27719
Fix mail integration fails for mails with having not encoded ampersands on their html content
2021-04-27 17:41:34 +02:00
Ralf Becker
fed41622c2
fixing all sorts of PHP 8 errors and PHPStorm errors
2021-03-31 17:50:01 +02:00
Hadi Nategh
cf2d626bca
Fix replying to some mails with broken pre tags would cause infinite loop
2019-12-03 14:34:32 +01:00
nathangray
83e2d70222
Mail: Fix bullet & number to text conversion failed with non-ascii characters
2019-11-22 09:44:27 -07:00
nathangray
5acd287e8d
* Mail: keep number & bullet lists when converting to plain text
2019-11-08 11:42:25 -07:00
Ralf Becker
bdc8e71057
* Mail: stop logging of mails to webserver error-log
2019-10-30 15:09:11 +01:00
nathangray
397b77a86d
Mail - another fix for extra newlines, now with less out of memory errors
2019-08-29 11:53:40 -06:00
Hadi Nategh
5dcb431087
Revert commit 91f85186cd
as it breaks mail reply
2019-08-06 15:51:25 +02:00
nathangray
91f85186cd
Mail - fix extra newlines added when switching email from HTML to text
2019-08-02 11:50:52 -06:00
Alexandros Sigalas
1f2080e22c
Convert first with Api\Translation::convert, then decode with html_entity_decode()
2019-04-01 12:24:45 +03:00
Alexandros Sigalas
5c3a4fe6ce
Replaced html_entity_decode with Api\Translation::convert
2019-04-01 07:59:49 +03:00
Hadi Nategh
490d79f774
Do not touch email addresses when creating a plaintext message
2018-12-20 16:57:46 +01:00
Ralf Becker
b8e230190f
* Mail: fixed equal signs (=) are not displayed in subject
...
Not sure why, but equal sign was removed unconditional together with other non-printable chars.
Equal sign is now removed from that preg and code is cleaned up to have a single preg removing unprintable chars independet on the function used to decode the header.
2018-05-03 11:01:08 +02:00
Hadi Nategh
53b97078ad
Fix mail with a bold digits gets removed from text part
2018-03-05 17:31:47 +01:00
Hadi Nategh
1eff570926
Consider whitespaces when trying to translate <, >, <= and >= signs in HTML:
...
- Fix some mails get cut off after switching to plain-text mode
2017-01-09 16:57:30 +01:00
leithoff
97b30f3167
explizitly handle span element on convertHTMLToText
2016-05-27 12:29:18 +02:00
Klaus Leithoff
9f6104f53a
prevent possible endless recursion on decodeMailHeader
2016-04-15 08:50:02 +00:00
Klaus Leithoff
b4a4864717
try to prevent infinite loops when decoding mail-headers
2016-04-14 14:28:41 +00:00
Ralf Becker
df2791ab63
fix PHP Fatal error: Access to undeclared static property: EGroupware\Api\Mail\Html::$system_charset in api/src/Mail/Html.php on line 233
2016-03-31 11:40:17 +00:00
Ralf Becker
5f68bc6664
move html mail specific part of translation class to Api\Mail\Html
2016-03-28 19:38:21 +00:00