PEAK XOOPS - Re: EMLH and e-mails in englishin japanese

Re: EMLH and e-mails

List posts in the topic

none Re: EMLH and e-mails

msg# 1.1
depth:
1
Previous post - Next post | Parent - No child | Posted on 2008/6/22 17:46 | Last modified
GIJOE  ÀèǤ·³Áâ   Posts: 4110
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]
Votes:15 Average:8.67

Posts tree

  Advanced search


Login
Username or e-mail:

Password:

Remember Me

Lost Password?

Register now!