Re: [exim] Creating autoreply in utf-8

Top Page
Delete this message
Reply to this message
Author: Magnus Holmgren
Date:  
To: exim-users
Subject: Re: [exim] Creating autoreply in utf-8
On Tuesday 02 January 2007 11:33, POLONKAI Gergely wrote:
> vacation_autoreply:
>         driver = autoreply
>         to = ${sender_address}
>         from = "${local_part}@${domain}"
>         subject = ${lookup pgsql {PGSQL_Q_AWAYSUBJECT}{$value}}
>         text = ${lookup pgsql {PGSQL_Q_AWAYTEXT}{$value}}
>         headers_add = "Content-Type: text/plain; charset=utf-8"

>
> However, as I know, the headers_add adds the header to the original
> message, not the generated one. Is it possible to add the header to the
> generated message?


Of course, but the option you want is "headers", not "headers_add". See
chapter 27 of the spec. Also, don't forget to add "MIME-Version: 1.0".

-- 
Magnus Holmgren        holmgren@???
                       (No Cc of list mail needed, thanks)


"Exim is better at being younger, whereas sendmail is better for
Scrabble (50 point bonus for clearing your rack)" -- Dave Evans