I composed a simple HTML mail with one txt attachment.
enigma.php calling this hook:
$this->add_hook('message_outgoing_body', array($this, 'msg_encode'));

In msg_encode function debugging 'message' argument gives the following output:

array (
  'body' => '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN">
<html><body>
<p>123</p>
<p>&nbsp;</p>
<div>&nbsp;</div>
</body></html>
',
  'type' => 'html',
  'message' =>
  Mail_mime::__set_state(array(
     '_txtbody' => NULL,
     '_htmlbody' => NULL,
     '_html_images' =>
    array (
    ),
     '_parts' =>
    array (
    ),
     '_headers' =>
    array (
    ),
     '_build_params' =>
    array (
      'head_encoding' => 'quoted-printable',
      'text_encoding' => 'quoted-printable',
      'html_encoding' => 'quoted-printable',
      'html_charset' => 'ISO-8859-1',
      'text_charset' => 'ISO-8859-1',
      'head_charset' => 'ISO-8859-1',
      'eol' => '
',
      'delay_file_io' => false,
    ),
  )),
  'abort' => false,
)


Where can I find the attached txt file? How can I reach and encrypt it?

(I got no reply email from RC dev list. Maybe something wrong in my gmail account. sorry.)

thx
A.