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);