Hi,

I changed text/plain to text/html without any effect.
Answered tickets are still plain text.
Which file is responsible for sending tickets from the OTRS system, related
to plain or html content?

Chris

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Martin
Edenhofer
Sent: Tuesday, December 23, 2003 4:34 PM
To: Development community of OTRS
Subject: Re: [dev] HTML email

Hi Chris,

On Tue, Dec 23, 2003 at 02:33:49PM +0100, Reurings, Chris wrote:

> I have a question about sending HTML mail from the OTRS system.
> Is this in some kind of way possible.
> I already implemented a nice HTML editor for the AgentCompose function.
> So that's already done.
> But how can I change the content type from text/plain to text/html for
> outgoing mail?
> While sending mail with HTML tags, I receive mail with plain text and
plain
> HTML tags, without the

Try this Kernel/System/Ticket/SendArticle.pm ~ line 106
[...]
    # build header
    my $Header = {
        From => $Param{From},
        To => $Param{To},
        Cc => $Param{Cc},
        Bcc => $Self->{SendmailBcc},
        Subject => $Param{Subject},
        'Message-ID' => $MessageID,
        'In-Reply-To:' => $InReplyTo,
        'References' => $InReplyTo,
        'X-Mailer' => "OTRS Mail Service ($VERSION)",
        'X-Powered-By' => 'OTRS - Open Ticket Request System
(http://otrs.org/)',
        Organization => $Self->{Organization},
        Type => 'text/plain; charset='.$Charset,
        Encoding => '8bit',
    };
[...]

There you could change the text/plain to text/html. Maybe this is what you
want.

> Chris Reurings

  Martin Edenhofer

--
((otrs.de)) :: OTRS GmbH :: Norsk-Data-Str. 1 :: 61352 Bad Homburg
        http://www.otrs.de/ :: Manage your communication!

_______________________________________________
OTRS mailing list: dev - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/dev
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/dev

_______________________________________________
OTRS mailing list: dev - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/dev
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/dev

Reply via email to