Sieve-Example:HTML Autoresponder: Difference between revisions

mNo edit summary
mNo edit summary
 
<syntaxhighlight>
require ["fileintovacation","vacationvariables"];
 
require ["fileinto","vacation"];
# rule:[html auto responder reply]
if true
{
if header :matches "subject" "*" {
vacation
set :"subject" "Automatic reply with HTML information. Re $subject{1}";
}
:mime "MIME-Version: 1.0
vacation :subject "Automatic reply with HTML information. Re $subject" :mime text:
:mime "MIME-Version: 1.0
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: 7bit
<b>I am away</b>
</body>
</html>.";
.
}
;
}
</syntaxhighlight>