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

Reply via email to