News:

Looking for documentation? Take a look on our wiki

Main Menu

No HTML formatting in comments sent by email

Started by holanpan7, November 12, 2019, 21:03:24 PM

Previous topic - Next topic

holanpan7

Hello,

I am using joomla! 3.9.13 +VirtueMart 3.6.2 10159

Is is possible to get the comments sent by e-mail when updating orders , to maintain its HTML formatting?
For example if I enter a text with carriage return, it is sent in one line. Or if I enter a link, it is not displayed as a clickable link.

I tried using

Quote from: GJC Web Design on August 02, 2018, 19:35:16 PM
hmmmm...

really don't think it matters how it displays in the admin

more the problem is the client email is not rendered as a link

if u change in

templates\gjc_j3_v5\html\com_virtuemart\invoice\mail_html_shopper.php

to

echo vmText::sprintf('COM_VIRTUEMART_MAIL_SHOPPER_QUESTION',nl2br(htmlspecialchars_decode($this->orderDetails['history'][$nb-1]->comments, ENT_COMPAT)));

I get a proper link in the email


But it doesn't work for my version of virtuemart.

Any ideas?

Thanks