| | |
| | | if ($part->ctype_secondary == 'html') { |
| | | } |
| | | else if ($part->ctype_secondary == 'enriched') { |
| | | require_once(INSTALL_PATH . 'program/lib/enriched.inc'); |
| | | $body = enriched_to_html($body); |
| | | $body = rcube_enriched::to_html($body); |
| | | } |
| | | else { |
| | | // try to remove the signature |
| | |
| | | } |
| | | else { |
| | | if ($part->ctype_secondary == 'enriched') { |
| | | require_once(INSTALL_PATH . 'program/lib/enriched.inc'); |
| | | $body = enriched_to_html($body); |
| | | $body = rcube_enriched::to_html($body); |
| | | $part->ctype_secondary = 'html'; |
| | | } |
| | | |
| | |
| | | $body = $txt->get_text(); |
| | | } |
| | | else if ($part->ctype_secondary == 'enriched') { |
| | | require_once(INSTALL_PATH . 'program/lib/enriched.inc'); |
| | | $body = enriched_to_html($body); |
| | | $body = rcube_enriched::to_html($body); |
| | | } |
| | | else { |
| | | if ($part->ctype_secondary == 'plain' && $part->ctype_parameters['format'] == 'flowed') { |