Re: [exim] html vacation message

Góra strony
Delete this message
Reply to this message
Autor: Niels Dettenbach
Data:  
Dla: exim-users
Temat: Re: [exim] html vacation message
Am Dienstag, 17. Dezember 2019, 13:12:31 CET schrieb Andrew McGlashan via
Exim-users:
> I've had vacation messages set up for years, but they have always been
> plain text content.
>
> How can I provide html content for the vacation message?



hmm,
at leats rfc 5230 has something like this

--- snip ---
require "vacation";
vacation :mime text:
Content-Type: multipart/alternative; boundary=foo

--foo

I'm at the beach relaxing. Mmmm, surf...

--foo
Content-Type: text/html; charset=us-ascii

   <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN"
    "http://www.w3.org/TR/REC-html40/strict.dtd">
   <HTML><HEAD><TITLE>How to relax</TITLE>
   <BASE HREF="http://home.example.com/pictures/"></HEAD>
   <BODY><P>I'm at the <A HREF="beach.gif">beach</A> relaxing.
   Mmmm, <A HREF="ocean.gif">surf</A>...
   </BODY></HTML>


--foo--
.
--- snap ---

but not tested that on EXIMs SIEVE stack.

But if remember correctly, this is not a good idea nor "recommended" to do
that for some compatibility reasons - but i'm not remembering why (DSN stuff
or disabled mime extension on most platforms for sec reasons?).

has someone a clearification on hand?


niels.

--
---
Niels Dettenbach
Syndicat IT & Internet
http://www.syndicat.com
PGP: https://syndicat.com/pub_key.asc
---