hi coolman7.
Quote:
I want to know how to render e-mails with EMLH. For example when I send emails with Liaise or other modules or notification systems, mails are like that
Subject: [tr]aaaaa[/tr][en]bbbbb[/en]
Message body: [tr]AAAAAA[/tr][en]BBBBB[/en]
But emails should be like that:
Subject: bbbbb
Message body: BBBBB
How can I do this with EMLH?
Perhaps, you have to hack Liaise or core.
eg)
htdocs/class/mail/phpmailer/class.phpmailer.php
$this->error_count = 0; // reset errors
$this->SetMessageType();
$header .= $this->CreateHeader();
$body = $this->CreateBody();
if( function_exists( 'easiestml' ) ) {
$header = easiestml( $header ) ;
$body = easiestml( $body ) ;
}
# This code is not enough.
# refer
[1.2.1]