[Mimedefang] mimedefang-filter $Subject variable encoding

Amit Gupta amit777 at gmail.com
Thu Jun 9 16:30:52 EDT 2016


Should the $Subject variable be mime encoded?   Is this the correct
way to update the $Subject of an email:

my $subject = mime_to_perl_string($Subject);
$subject = "Foo and maybe Unicode chars";
$Subject = encode_mimeword($subject);
action_change_header('Subject', $Subject);



More information about the MIMEDefang mailing list