Commit Graph

371 Commits

Author SHA1 Message Date
ldestailleur
381c6fbecf Fix CI 2025-08-24 22:05:46 +02:00
HENRY Florian
e3953f684b fix: with MAIN_MAIL_ADD_INLINE_IMAGES_IF_IN_MEDIAS and multicompany image are not find on send mail (#34946) 2025-08-14 19:03:37 +02:00
HENRY Florian
5024aee975 fix: with MAIN_MAIL_ADD_INLINE_IMAGES_IF_IN_MEDIAS and multicompany image are not find on send mail (#34894) 2025-08-07 14:42:20 +02:00
Laurent Destailleur (aka Eldy)
1f360ca498 Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into 19.0 2025-01-20 12:28:49 +01:00
Laurent Destailleur
9f4692e1c9 Merge pull request #31460 from OPEN-DSI/18.0_fix_return_hook_sendmail
FIX: Fix return value of hook sendMail when hook return -1 who must be return false in sendfile() function
2025-01-20 09:23:44 +01:00
Laurent Destailleur
93b11038d5 Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into 19.0 2024-11-19 03:44:50 +01:00
Marc de Lima Lucio
ce9a1b3661 FIX: swiftmailer: correctly set errors-to header (#31826) 2024-11-15 14:10:35 +01:00
Kamel Khelifa
87c16498ca FIX: Fix return value of hook sendMail when hook return -1 who must be return false in sendfile() function 2024-10-18 14:26:04 +02:00
Laurent Destailleur
c10e968600 Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into 19.0 2024-09-23 21:52:08 +02:00
Laurent Destailleur
2f773e9326 Merge branch '17.0' of git@github.com:Dolibarr/dolibarr.git into 18.0 2024-09-23 21:45:03 +02:00
HENRY Florian
61c5a61623 fix: better error reporting in CMailFile (#31058) 2024-09-20 17:46:52 +02:00
Laurent Destailleur
43a3f449c4 Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into 19.0 2024-03-19 17:07:51 +01:00
Laurent Destailleur
b705dd8094 NEW Support Reply-To tracking in emails sending (tickets only for the
moment)

Conflicts:
	htdocs/core/class/CMailFile.class.php
	htdocs/ticket/class/ticket.class.php
2024-03-19 16:42:27 +01:00
Laurent Destailleur
edbc4b3781 Fix fatal error 2024-03-19 10:51:42 +01:00
Laurent Destailleur
43b6d26dd8 Doc 2024-03-19 10:31:39 +01:00
Laurent Destailleur
db4fbdea71 Fix dir for tmp files 2024-03-19 09:19:59 +01:00
Laurent Destailleur
a0b7cb90d8 FIX trackid and temp dir on payment confirmation of event registration 2024-03-18 20:17:19 +01:00
Laurent Destailleur
62cf3ab098 Enhance error message 2024-03-18 19:27:52 +01:00
Laurent Destailleur
8b8aa3a27f Fix comment 2024-02-06 17:46:12 +01:00
Laurent Destailleur
b0fd166142 Add MAIN_MAIL_FORCE_FROM to fix sending email with mono user SMTP 2024-02-01 13:12:21 +01:00
vmaury
f033cc455f Fix : random bug when attaching file to email : no file attached 2024-01-29 01:58:07 +01:00
Laurent Destailleur
e770259b3f Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into 19.0 2024-01-10 15:12:50 +01:00
Laurent Destailleur
f3911bccc8 Merge branch '17.0' of git@github.com:Dolibarr/dolibarr.git into 18.0 2024-01-10 15:11:40 +01:00
Florian HENRY
053e0981ad fix: pregmatch all always return empty array, muxt be tested like in findHtmlImages 2024-01-04 11:49:10 +01:00
Florian HENRY
43fceaf468 fix: pregmatch all always return empty array, muxt be tested like in findHtmlImages 2024-01-04 11:47:43 +01:00
Laurent Destailleur
ef312e960c Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into develop 2023-12-29 16:53:09 +01:00
Laurent Destailleur
d2b3920684 Merge 2023-12-29 16:51:05 +01:00
Laurent Destailleur
b75cbc54a8 Enhance rector cleaning code 2023-12-26 22:28:07 +01:00
Laurent Destailleur
1985d1fd4d Fix warnings 2023-12-23 20:00:57 +01:00
Laurent Destailleur
fb083a6cfc Fix warning with rector 2023-12-13 16:33:17 +01:00
Florian HENRY
67ad440381 typo 2023-12-13 11:33:18 +01:00
Florian HENRY
6bb952bf9a typo 2023-12-13 11:32:48 +01:00
Florian HENRY
82c49e62d1 add unit test for image in email with src=../media/ or src=base64 2023-12-13 11:31:42 +01:00
MDW
b0414dd078 Fix utf8_encoding/decoding (rather than creating new function replacements) 2023-12-07 03:37:05 +01:00
Frédéric FRANCE
61b79fda17 avoid phpstan error with phpdoc 2023-12-06 15:46:39 +01:00
Laurent Destailleur
54e6de0d7f Fix with php-cs-fixer 2023-12-04 12:04:36 +01:00
Florian HENRY
9bbd285c3a fix: feature MAIN_MAIL_ADD_INLINE_IMAGES_IF_IN_MEDIAS was broken 2023-12-02 15:53:22 +01:00
Laurent Destailleur
a241d85f84 FIX #26858 2023-11-27 18:45:08 +01:00
Laurent Destailleur
1c28552c53 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2023-11-27 18:13:57 +01:00
Laurent Destailleur
9454cfd546 Clean code 2023-11-27 18:13:01 +01:00
Laurent Destailleur
de96af8543 Fix warning php8.2 2023-11-27 11:24:19 +01:00
John BOTELLA
b758bb9ab4 Offset non-falsy-string on array{} in empty() does not exist. (#26745) 2023-11-22 09:27:12 +01:00
Laurent Destailleur
a0bba05b02 Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into develop
Conflicts:
	htdocs/commande/class/api_orders.class.php
	htdocs/compta/facture/card.php
	htdocs/core/lib/functions.lib.php
	htdocs/core/lib/project.lib.php
	htdocs/fourn/class/api_supplier_orders.class.php
	htdocs/fourn/class/fournisseur.facture-rec.class.php
	htdocs/langs/en_US/stocks.lang
2023-11-17 18:24:53 +01:00
Laurent Destailleur
042d583070 Merge branch '17.0' of git@github.com:Dolibarr/dolibarr.git into 18.0 2023-11-17 12:03:38 +01:00
HENRY Florian
102356d2c4 fix: When sendmail failed it return false, result is KO, need to say it to user (#26631)
* fix: When sendmail failed it return false, need to be tested as is

* fix: When sendmail failed it return false, so >=0 do not trigger error

* fix: When sendmail failed it return false, so >=0 do not trigger error

* Update CMailFile.class.php

* Update actions_sendmails.inc.php

* Update actions_sendmails.inc.php

* Update CMailFile.class.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2023-11-17 12:01:03 +01:00
Laurent Destailleur
1f38e54e78 Clean code 2023-10-15 15:32:35 +02:00
Laurent Destailleur
ffbb05167a Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into develop 2023-10-09 09:28:51 +02:00
Laurent Destailleur
b3368514ab NEW Add option MAIN_MAIL_DEBUG_LOG_WITH_DATE to add 1 log file per email 2023-10-09 09:13:27 +02:00
Laurent Destailleur
2f9ea19ad1 Fix warnings 2023-08-29 22:13:38 +02:00
Laurent Destailleur
31082fbea0 Log 2023-07-27 15:51:32 +02:00