Laurent Destailleur
030df58fea
Fix regression in sending emails
2020-08-07 17:11:23 +02:00
Laurent Destailleur
795754273e
Fix regression in sending emails
2020-08-07 17:06:57 +02:00
Laurent Destailleur
bd5c4603e3
Fix regression in sending emails
2020-08-07 17:06:12 +02:00
Laurent Destailleur
6fd433167f
Merge branch '12.0' of git@github.com:Dolibarr/dolibarr.git into develop
...
Conflicts:
htdocs/core/class/CMailFile.class.php
2020-08-07 11:59:55 +02:00
florian HENRY
46cafcc445
Merge branch '11.0' into 12.0
2020-08-06 16:54:49 +02:00
florian HENRY
3e6ae9bebf
Merge branch '10.0' into 11.0
2020-08-06 16:34:45 +02:00
florian HENRY
53acd8cffd
FIX: MAIN_MAIL_FORCE_SENDTO work now for all mail sending method
2020-08-06 16:28:17 +02:00
Laurent Destailleur
eb7f3b81d3
Merge pull request #14187 from atm-john/10.0_fix_email_spoofing
...
Fix email spoofing - with hidden conf
2020-07-06 12:01:35 +02:00
Laurent Destailleur
42917000a3
Update CMailFile.class.php
2020-07-06 12:01:00 +02:00
Laurent Destailleur
2f04b4c559
Update CMailFile.class.php
2020-07-06 12:00:14 +02:00
stickler-ci
cb7b66d52c
Fixing style errors.
2020-07-06 09:19:27 +00:00
John Botella
2a9311b2d8
Fix email spoofing - with hidden conf
2020-07-01 16:55:23 +02:00
Frédéric FRANCE
b41ac00b98
add new rule
2020-05-21 15:05:19 +02:00
Frédéric FRANCE
ee6fadd0d5
add new rule
2020-05-21 01:41:27 +02:00
Scrutinizer Auto-Fixer
444c293c01
Scrutinizer Auto-Fixes
...
This commit consists of patches automatically generated for this project on https://scrutinizer-ci.com
2020-04-10 08:59:32 +00:00
Laurent Destailleur
83af4ebea4
Merge branch '11.0' of git@github.com:Dolibarr/dolibarr.git into develop
...
Conflicts:
htdocs/core/modules/expedition/doc/pdf_espadon.modules.php
htdocs/product/stock/class/entrepot.class.php
htdocs/product/stock/list.php
2020-04-10 01:22:22 +02:00
stickler-ci
e402e35d96
Fixing style errors.
2020-04-08 14:09:04 +00:00
simicar29
6cb780d125
Avoid the doubledot issue in quoted-printable mail
...
When sending HTML mail using swiftmailer, the content will be encoded using quoted-printable. We may then encounter the "double dot" issue (doubled dot at the beginning of the line). This can be problematic with broken links to pictures for example.
This PR switches the encoding to base64.
2020-04-08 16:03:41 +02:00
Laurent Destailleur
895503d2eb
Merge branch '11.0' of git@github.com:Dolibarr/dolibarr.git into develop
...
Conflicts:
htdocs/comm/index.php
htdocs/core/class/CMailFile.class.php
2020-02-20 00:21:25 +01:00
Laurent Destailleur
016c7ad875
FIX #13135
2020-02-19 01:17:16 +01:00
Laurent Destailleur
6badf724cf
FIX Mail smtps truncated if content has a line with single .
...
Conflicts:
htdocs/core/class/CMailFile.class.php
2020-02-09 16:38:19 +01:00
Laurent Destailleur
5c000159c1
FIX Mail smtps truncated if content has a line with single .
2020-02-09 16:36:38 +01:00
Laurent Destailleur
18d332994f
FIX Mail smtps truncated if content has a line with single .
2020-02-09 15:51:43 +01:00
Laurent Destailleur
e14612f569
FIX Filenames must not contains non ascii char or we will get non ascii
...
char into the SMTP header.
Conflicts:
htdocs/core/class/CMailFile.class.php
2020-02-06 13:02:27 +01:00
Laurent Destailleur
13442ef0df
FIX Filenames must not contains non ascii char or we will get non ascii
...
char into the SMTP header.
2020-02-06 13:01:09 +01:00
Laurent Destailleur
05e08b3596
FIX Filenames must not contains non ascii char or we will get non ascii
...
char into the SMTP header.
FIX Do not encode subject if it is full ascii (not required)
2020-02-06 12:58:02 +01:00
Laurent Destailleur
7c35e9aaa8
FIX #12932
2020-02-03 03:56:30 +01:00
Laurent Destailleur
1dab308e4a
FIX #12932
2020-02-03 03:55:37 +01:00
Laurent Destailleur
9a08a6bf6d
Merge branch '10.0' of git@github.com:Dolibarr/dolibarr.git into 11.0
...
Conflicts:
htdocs/categories/traduction.php
htdocs/compta/facture/class/facture.class.php
htdocs/contact/card.php
htdocs/core/modules/modSociete.class.php
htdocs/fourn/class/fournisseur.product.class.php
htdocs/langs/en_US/products.lang
htdocs/margin/agentMargins.php
htdocs/margin/customerMargins.php
htdocs/margin/productMargins.php
htdocs/margin/tabs/productMargins.php
htdocs/margin/tabs/thirdpartyMargins.php
2019-12-23 14:13:26 +01:00
Regis Houssin
8321fe6ad2
FIX missing nl2br conversion
2019-12-22 09:13:34 +01:00
Laurent Destailleur
d38c73c90a
FIX output of emails from and error on emailing pages.
2019-12-13 15:52:08 +01:00
Laurent Destailleur
92a65a8039
Log
2019-11-21 21:36:03 +01:00
Laurent Destailleur
5fdd6f698d
More complete error message
...
Conflicts:
htdocs/core/class/CMailFile.class.php
2019-11-21 20:46:27 +01:00
Laurent Destailleur
b46362dff9
More complete error message
2019-11-21 20:45:19 +01:00
Laurent Destailleur
75667833fe
Fix missing ->msgid
2019-11-14 10:01:05 +01:00
Scrutinizer Auto-Fixer
87585c0f2a
Scrutinizer Auto-Fixes
...
This commit consists of patches automatically generated for this project on https://scrutinizer-ci.com
2019-11-13 17:32:11 +00:00
Laurent Destailleur
027d94d41a
Revert change that create not required new lines
2019-11-06 00:51:26 +01:00
Laurent Destailleur
e885345ef7
FIX Check on duplicate profid was not triggered.
2019-11-06 00:27:36 +01:00
Frédéric FRANCE
e75f7d448c
Squiz.WhiteSpace.ControlStructureSpacing.SpacingAfterOpen
2019-10-16 20:00:01 +02:00
Alexandre SPANGARO
16c6c9ae75
Merge remote-tracking branch 'upstream/develop' into 11.0_https
2019-10-01 06:12:24 +02:00
Alexandre SPANGARO
91b3bf76fd
Merge branch 'develop' into 11.0_https
2019-10-01 06:11:43 +02:00
Frédéric FRANCE
a5fce6cca8
Update CMailFile.class.php
2019-09-30 18:25:54 +02:00
Laurent Destailleur
7dd4a829a5
Comment
2019-09-30 15:18:05 +02:00
Alexandre SPANGARO
02dbc11f98
Move Gnu.org to https
2019-09-23 21:55:30 +02:00
Frédéric FRANCE
a44836ae40
Update CMailFile.class.php
2019-09-17 10:15:55 +02:00
Laurent Destailleur
bb81f66a1a
Add phpunit test for Lessc
2019-09-06 10:36:49 +02:00
Laurent Destailleur
adb3062a9f
Work on nblignes -> nblines
2019-06-29 16:38:14 +02:00
Laurent Destailleur
15de8a9497
Merge branch '9.0' of git@github.com:Dolibarr/dolibarr.git into develop
...
Conflicts:
htdocs/comm/mailing/card.php
2019-05-27 19:25:53 +02:00
Laurent Destailleur
1c6ddd25c4
Merge branch '8.0' of git@github.com:Dolibarr/dolibarr.git into 9.0
2019-05-27 19:23:54 +02:00
Laurent Destailleur
93c395fe10
FIX confirmation of mass email sending + option MAILING_NO_USING_PHPMAIL
2019-05-27 19:22:51 +02:00
Laurent Destailleur
5707aff7c4
Look and feel v10
2019-05-21 21:52:04 +02:00
Laurent Destailleur
fdeb12a909
Merge branch '9.0' of git@github.com:Dolibarr/dolibarr.git into develop
...
Conflicts:
htdocs/comm/mailing/card.php
2019-05-21 21:18:40 +02:00
Laurent Destailleur
a7f5f3fb94
Merge branch '8.0' of git@github.com:Dolibarr/dolibarr.git into 9.0
2019-05-21 21:16:54 +02:00
Laurent Destailleur
dcf77520ea
FIX Error management when MAILING_NO_USING_PHPMAIL is set
2019-05-21 21:16:06 +02:00
Laurent Destailleur
fff9b7db9d
Fix doxygen
2019-04-04 18:33:12 +02:00
Frédéric FRANCE
d39b600ff4
Update CMailFile.class.php
2019-03-06 20:29:58 +01:00
Laurent Destailleur
a5711a51ab
Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
...
develop
Conflicts:
htdocs/core/lib/json.lib.php
test/phpunit/JsonLibTest.php
2019-03-02 18:30:17 +01:00
Frédéric FRANCE
8c23b41f9a
autoloader for egulias lib needed by swiftmailer
2019-03-02 14:32:52 +01:00
Frédéric FRANCE
cc1ee2d883
add visibility
2019-02-27 23:55:18 +01:00
Frédéric FRANCE
c89e4d79b8
wip
2019-02-25 22:27:04 +01:00
Frédéric FRANCE
1e43f8e54a
PEAR FunctionCallSignature
2019-02-10 10:45:49 +01:00
Frédéric FRANCE
b10558bacd
Merge remote-tracking branch 'upstream/develop' into nospaceaftercomma
2019-01-27 23:23:38 +01:00
Laurent Destailleur
4f9f0fd7b5
Merge branch 'develop' into elseif
2019-01-27 17:54:06 +01:00
Frédéric FRANCE
f0cdf300d1
Squiz.Functions.FunctionDeclarationArgumentSpacing
2019-01-27 15:20:16 +01:00
Frédéric FRANCE
7ee086b402
PSR2 space after comma in function call
2019-01-27 11:55:16 +01:00
Frédéric FRANCE
6e91b3cefc
PSR2 usage of else if is discouraged
2019-01-27 10:49:34 +01:00
Frédéric FRANCE
4e60e48f34
Update CMailFile.class.php
2018-11-19 23:43:58 +01:00
Frédéric FRANCE
2179e2011e
doc cmail class
2018-11-19 23:38:07 +01:00
Laurent Destailleur
39621ec686
Merge branch '8.0' of git@github.com:Dolibarr/dolibarr.git into develop
...
Conflicts:
htdocs/core/class/commonobject.class.php
2018-11-19 20:07:51 +01:00
Laurent Destailleur
25ee999d27
Merge branch '7.0' of git@github.com:Dolibarr/dolibarr.git into 8.0
2018-11-19 20:05:32 +01:00
Laurent Destailleur
8535844737
Merge branch '6.0' of git@github.com:Dolibarr/dolibarr.git into 7.0
2018-11-19 18:27:00 +01:00
Frédéric FRANCE
30b1db34cd
Update CMailFile.class.php
2018-11-17 11:33:01 +01:00
Laurent Destailleur
5d596fe584
Fix trackid must contains an id of instance
2018-11-16 16:43:13 +01:00
Regis Houssin
9589f69574
Merge branch 'develop' of https://github.com/Dolibarr/dolibarr.git into
...
develop_email
Conflicts:
htdocs/core/modules/facture/doc/doc_generic_invoice_odt.modules.php
2018-10-30 18:29:28 +01:00
Laurent Destailleur
08862fb482
Log success of emails
2018-10-29 03:25:21 +01:00
Regis Houssin
569d59d251
FIX change my deprecated email
2018-10-27 14:43:12 +02:00
Laurent Destailleur
9ccdd10a81
FIXx format (html/text) of emails sent on leave request module
2018-10-25 13:19:56 +02:00
Laurent Destailleur
897a2b09a7
Removed scrutinizer warning
2018-10-19 15:02:54 +02:00
Laurent Destailleur
52840478c0
Clean code
2018-10-17 21:11:07 +02:00
Laurent Destailleur
62b31df069
Merge branch '8.0' of git@github.com:Dolibarr/dolibarr.git into develop
...
Conflicts:
htdocs/core/class/rssparser.class.php
htdocs/langs/en_US/boxes.lang
2018-09-27 12:55:25 +02:00
Laurent Destailleur
575c63f87d
Merge branch '7.0' of git@github.com:Dolibarr/dolibarr.git into 8.0
...
Conflicts:
htdocs/core/class/CMailFile.class.php
2018-09-27 12:52:10 +02:00
Laurent Destailleur
291d477f65
Merge branch '6.0' of git@github.com:Dolibarr/dolibarr.git into 7.0
...
Conflicts:
htdocs/core/class/commonobject.class.php
2018-09-27 12:47:48 +02:00
Frédéric FRANCE
1bac3a0ccf
swiftmailer is doing encodetorfc2822
2018-09-26 10:37:20 +02:00
Frédéric FRANCE
92a3faeaf7
add try catch for swiftmailer
2018-09-26 10:13:14 +02:00
Philippe GRAND
67bbead7c1
Standardize and update code
2018-09-20 17:46:39 +02:00
Laurent Destailleur
e90a60d4ee
Remove warnings
2018-09-16 10:09:19 +02:00
Frédéric FRANCE
b60f7db60a
move phpcs:ignore
2018-09-02 10:43:34 +02:00
Frédéric FRANCE
57fb3dc2f4
Merge remote-tracking branch 'upstream/develop' into camelCaps
2018-09-01 13:52:51 +02:00
Frédéric FRANCE
b03f4004ea
PSR2 FunctionClosingBrace
2018-08-29 21:25:22 +02:00
Frédéric FRANCE
850ac34020
mark non camelCaps function
2018-08-13 17:26:32 +02:00
Laurent Destailleur
7bf33b1bac
Merge branch '7.0' of git@github.com:Dolibarr/dolibarr.git into 8.0
...
Conflicts:
htdocs/hrm/index.php
htdocs/install/mysql/tables/llx_website_account.key.sql
htdocs/modulebuilder/template/myobject_card.php
2018-07-02 12:16:51 +02:00
Laurent Destailleur
2175a012e1
Fix lang
2018-06-29 18:23:59 +02:00
Laurent Destailleur
75dee7538b
Fix add protection to avoir fatal error 500
2018-06-19 01:15:37 +02:00
Laurent Destailleur
5d5083199f
FIX better text content for multipart email
2018-06-18 23:26:21 +02:00
Laurent Destailleur
f9f7d3655d
FIX better text content for multipart email
2018-06-18 23:24:31 +02:00
Laurent Destailleur
c3f64ed36e
FIX better text content for multipart email
2018-06-18 23:18:22 +02:00
Laurent Destailleur
b094ae953e
Better log
2018-06-01 17:20:49 +02:00
Laurent Destailleur
fb8ad77378
Merge branch '7.0' of git@github.com:Dolibarr/dolibarr.git into develop
...
Conflicts:
htdocs/install/mysql/migration/6.0.0-7.0.0.sql
2018-04-23 23:09:53 +02:00
Laurent Destailleur
6b90558b7a
FIX File name not visible in email preview
2018-04-20 11:20:56 +02:00
Frédéric FRANCE
f5b49aa93b
do not fill error with success message
2018-04-09 00:21:29 +02:00
Frédéric FRANCE
fd6c1f129c
Update CMailFile.class.php
2018-04-04 15:58:24 +02:00
Frédéric FRANCE
1071ec7e57
ignore Return-Path in dkim sign with swiftmailer
2018-03-26 21:36:03 +02:00
Frédéric FRANCE
d6e98d3b05
Update CMailFile.class.php
2018-03-12 15:14:41 +01:00
Laurent Destailleur
b084ca4a50
Fix
2018-03-11 19:44:19 +01:00
Frédéric FRANCE
27bf5419d6
Merge branch 'develop' into swifmailer
2018-03-09 22:44:57 +01:00
Laurent Destailleur
de9f1aab0f
NEW Can set the reply-to into email sent
2018-02-28 19:09:05 +01:00
Laurent Destailleur
7c6c893657
Merge pull request #7996 from atm-maxime/new_force_mailto
...
NEW Option to force all emails recipient
2018-02-03 19:15:11 +01:00
Laurent Destailleur
833c7685e1
Hook 'maildao' was renamed into 'mail' into the method sendfile that
...
send emails, and method was renamed from 'doaction' into 'sendMail'.
To process task #4875 #7969 in several steps.
2018-02-03 17:36:33 +01:00
Frédéric FRANCE
0568461a7b
swiftmailer
2018-01-25 22:03:51 +01:00
Laurent Destailleur
d796f403a9
Fix sender email when sending a password remind
2018-01-24 15:43:55 +01:00
Frédéric FRANCE
d31684376a
swiftmailer
2018-01-21 18:59:48 +01:00
Frédéric FRANCE
a34b99f3ec
swiftmailer
2018-01-21 15:55:56 +01:00
Maxime Kohlhaas
a9c7dc48ab
New option to force e-mail recipient, helpful for test purposes
2017-12-24 17:31:31 +01:00
Laurent Destailleur
2b95679b84
Add info to help spam fight
2017-11-21 14:09:15 +01:00
Laurent Destailleur
f7fe011e98
Add CRLF before 'boundary' word. Use \r\n on wordwrap.
2017-10-16 14:31:28 +02:00
Laurent Destailleur
a60cd49fb0
Merge branch '6.0' of git@github.com:Dolibarr/dolibarr.git into develop
...
Conflicts:
htdocs/core/actions_sendmails.inc.php
htdocs/core/class/CMailFile.class.php
htdocs/filefunc.inc.php
2017-08-28 12:53:02 +02:00
Laurent Destailleur
075a138e14
Fix substitution of __EMAIL__
2017-08-28 12:49:57 +02:00
Laurent Destailleur
c382ca22b8
FIX link in to email and option for tls
2017-08-28 00:09:21 +02:00
Laurent Destailleur
b12800d174
FIX link in to email and option for tls
2017-08-28 00:06:19 +02:00
Laurent Destailleur
17f44ad980
NEW Can make a specific setup for SMTP sending for emailing module
2017-08-24 02:02:00 +02:00
Laurent Destailleur
b29d0385e6
NEW Can send an email to a user from its card.
2017-05-15 00:15:56 +02:00
Laurent Destailleur
3da0aea168
Prepare code to use different SMTP servers.
2017-04-18 01:39:06 +02:00
Laurent Destailleur
6aa56ce0fa
NEW Add a tracking id into mass emailing
...
Prepare code to use a dedicated SMTP server according to context.
2017-04-11 10:57:17 +02:00
Laurent Destailleur
7c868888a5
FIX Add option MAIN_MAIL_USE_MULTI_PART to include text content into
...
HTML email and add option MAIN_MAIL_ADD_INLINE_IMAGES_IF_IN_MEDIAS to
restore the inline images feature.
2017-04-05 01:02:03 +02:00
Laurent Destailleur
0671f75417
Merge branch '4.0' of git@github.com:Dolibarr/dolibarr.git into 5.0
2017-01-16 00:01:37 +01:00
Laurent Destailleur
1fd9f5e1fb
Fix: host was twice into message id for smtp driver and swiftmailer was
...
not using dol_getprefix() to build host.
2017-01-14 13:27:44 +01:00
Laurent Destailleur
c42b48636a
Merge branch '4.0' of git@github.com:Dolibarr/dolibarr.git into 5.0
...
Conflicts:
htdocs/commande/class/api_commande.class.php
htdocs/core/class/CMailFile.class.php
htdocs/societe/class/api_contact.class.php
2017-01-12 11:06:24 +01:00
Laurent Destailleur
5e71ff816f
Increase limit for better backward compatibility without loosing minimum
...
security.
2017-01-12 10:51:31 +01:00
Regis Houssin
5898d27609
Fix: avoid errors if constants values not exists
2017-01-11 16:47:17 +01:00
Laurent Destailleur
bbd3734a21
Merge branch '4.0' of git@github.com:Dolibarr/dolibarr.git into develop
...
Conflicts:
htdocs/compta/facture/list.php
htdocs/filefunc.inc.php
2016-12-26 12:42:23 +01:00
Laurent Destailleur
e297b64722
Several security fix in using mailings.
2016-12-26 12:35:10 +01:00
Laurent Destailleur
c9c8079c3d
Can add additionnal paramon mail to solve rare sendmail problems
2016-12-26 00:00:28 +01:00
Laurent Destailleur
0ef963604f
Fix option moreinheader not correctly supported with smtps
2016-12-20 12:38:24 +01:00
Laurent Destailleur
0eded9a8b7
Merge branch '4.0' of git@github.com:Dolibarr/dolibarr.git into develop
2016-12-19 02:36:10 +01:00
Laurent Destailleur
0d1d68d5d9
Merge branch '3.9' of git@github.com:Dolibarr/dolibarr.git into 4.0
...
Conflicts:
htdocs/admin/dict.php
htdocs/product/price.php
2016-12-19 02:34:29 +01:00
Laurent Destailleur
74e00c4d80
More comment and hidden option to solve problems when sending emails.
2016-12-19 01:04:17 +01:00
Laurent Destailleur
dbf96b8f59
Log at wrong place
2016-12-18 23:32:31 +01:00
Laurent Destailleur
9d3bd9d36f
Merge branch '4.0' of git@github.com:Dolibarr/dolibarr.git into develop
...
Conflicts:
htdocs/langs/en_US/errors.lang
2016-12-18 11:57:04 +01:00
Laurent Destailleur
394e284a4a
Merge branch '3.9' of git@github.com:Dolibarr/dolibarr.git into 4.0
...
Conflicts:
htdocs/core/class/CMailFile.class.php
htdocs/langs/en_US/errors.lang
2016-12-18 02:16:40 +01:00
Laurent Destailleur
c5db333af8
Fix translation of error message when sending email
2016-12-17 14:00:39 +01:00
Laurent Destailleur
c750ba8b99
Merge branch '4.0' of git@github.com:Dolibarr/dolibarr.git into develop
...
Conflicts:
htdocs/filefunc.inc.php
htdocs/install/mysql/data/llx_c_payment_term.sql
htdocs/langs/en_US/bills.lang
htdocs/langs/en_US/mails.lang
2016-12-16 13:56:55 +01:00
Laurent Destailleur
8f3ce46c50
Merge branch '3.9' of git@github.com:Dolibarr/dolibarr.git into 4.0
2016-12-15 12:12:36 +01:00
Laurent Destailleur
2c4c48ad6f
Better fix to add server name into email id.
2016-12-15 12:11:39 +01:00
Laurent Destailleur
eaa2125373
Merge branch '4.0' of git@github.com:Dolibarr/dolibarr.git into develop
...
Conflicts:
htdocs/projet/card.php
htdocs/projet/class/project.class.php
htdocs/projet/list.php
2016-11-10 11:40:39 +01:00
Laurent Destailleur
e30622cbd8
FIX Bcc must not appears to recipient when using SMTPs lib
2016-11-09 00:10:02 +01:00
Laurent Destailleur
b284bdd953
NEW #5896 More complete data on event sent by email (name in title,
...
emails list in details)
2016-10-24 02:02:30 +02:00
Laurent Destailleur
cf7327a2a2
FIX #5750 Bug: CmailFile::server_parse enters an infinite loop if
...
$server_response is false
2016-10-01 16:41:12 +02:00
Laurent Destailleur
6033b09344
FIX: A constructor must not return a value.
...
FIX: A topic is required to send an email (probability to be spam of
99%)
2016-06-24 15:36:20 +02:00
frederic34
60ebc6fa11
Some correction for testconnect
2016-04-18 00:47:08 +02:00
frederic34
75127638a4
Embed images
2016-04-17 10:28:21 +02:00