VirtueMart Forum

VirtueMart 2 + 3 + 4 => General Questions => Topic started by: raudi88 on September 02, 2012, 22:31:02 PM

Title: need help..in emails are html syntax visible
Post by: raudi88 on September 02, 2012, 22:31:02 PM
Hi, I need help.
In emails which I or the customer receive from virtuemart, are the html syntax visible. I've no idea y. Maybe I have to setup something in database.

for example in footer:
test test <a href="http://test.ch/index.php?option=com_virtuemart" >myshop</a>
myshop
myshop
test sentence
<p>test test test </p>


i think this is the code
$link = JURI::root(). 'index.php?option=com_virtuemart' ;

echo "\n\n";
$link= JHTML::_('link', $link, $this->vendor->vendor_name) ;

//   echo JText::_('COM_VIRTUEMART_MAIL_VENDOR_TITLE').$this->vendor->vendor_name.'<br/>';
/* GENERAL FOOTER FOR ALL MAILS */
   echo JText::_('COM_VIRTUEMART_MAIL_FOOTER' ) . $link;
   
        echo "\n";
   echo $this->vendor->vendor_name ."\n".$this->vendor->vendor_phone .' '.$this->vendor->vendor_store_name ."\n".strip_tags($this->vendor->vendor_store_desc)."\n".str_replace('<br />',"\n",$this->vendor->vendor_legal_info);