TooManyLinksIntoHTMLString message when Mailing quotes

Hi.

I’m trying to create an email template to use it as default template for Quotes.

I design the template using system tags to get automatic fields when sending the mail message and i get an error TooManyLinksIntoHTMLString.

Only works when i use one automatic field, but not with two or more.

I really preciate if some one could solve this issue.

Using Dolibarr 18.0.2 with CPanel at shared server.

Hello,
Did you find any solution to this error.
I have the same error when I use an html link to a file. dolibarr 18.0.4 or 19.0.0 same error.
I tried the full url to my image, not resolved. When I remove image, it works :confused:
Thanks.

Hello.

Find the solution on Dolibarr’s french forum.
Under Configuration / Divers,
set a value > 0 for number of max image. Exemple:

MAIN_SECURITY_MAX_IMG_IN_HTML_CONTENT = 10

Good luck
Mustafa

1 Like

Hello,
I have the same problem, also creating an email template for a document or creating a signature for email.

I’m using Dolibarr 20.0.3 , PHP 8.2

This: MAIN_SECURITY_MAX_IMG_IN_HTML_CONTENT = 10 in setup others don’t solve the problem of TooManyLinksIntoHTMLString for me.

I’m not able to put the company logo in the email.

Thank you!