Bjørnar Ness wrote on 16/09/15 20:15:
> 2015-09-16 19:56 GMT+02:00 Bjørnar Ness <[email protected]>:
>> Is there no b642str function? I cant seem to find it.
>>
>> Also, When I insert a header in a mail using str2b64 I am unable
>> to read the decoded content of this header (decoded) using $bh_ or $h_
>> I only get the b64 encoded string. From what I understand from the
>> documentation, this is wrong?

Most likely the encoding is broken. The documentation says:
" If decoding of what looks superficially like a MIME “word” fails, the raw
string is returned. "

> To answer this question myself:
> 
> =?UTF-8?B?${str2b64:$acl_c_scfg}?=

You should use
 ${rfc2047:<string>}
instead for header encoding IMO.

Maybe this fixes your decoding problems as well.

Greetings, Wolfgang
-- 
Wolfgang Breyha <[email protected]> | http://www.blafasel.at/
Vienna University Computer Center | Austria


-- 
## List details at https://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/

Reply via email to