[Mimedefang] mimedefang-filter $Subject variable encoding

Dianne Skoll dfs at roaringpenguin.com
Thu Jun 9 22:15:26 EDT 2016


On Thu, 9 Jun 2016 13:30:52 -0700
Amit Gupta <amit777 at gmail.com> wrote:

> Should the $Subject variable be mime encoded?

Yes.

> $Subject = encode_mimeword($subject);

I think you want encode_mimewords($subject, Charset => 'UTF-8')

mimewords, plural, and you need to supply the Charset.

Regards,

Dianne.



More information about the MIMEDefang mailing list