my $sendmail_dir = $config{sendmail_dir};
my $spool_dir = $config{spool_dir};
my $config_dir = $config{config_dir};
my $sendmail_dir = $config{sendmail_dir};
my $spool_dir = $config{spool_dir};
my $config_dir = $config{config_dir};
# We're going to use create mime message to create these messages, and
# then just send them to receive.
# We're going to use create mime message to create these messages, and
# then just send them to receive.
From => 'föoff@bugs.something',
Subject => 'Submiting a bug',
],
From => 'föoff@bugs.something',
Subject => 'Submiting a bug',
],
- body => <<EOF,attachments => [{Type=>"text/plain",Charset=>"utf-8",Data=><<EOF2}]) or fail('Unable to send message');
+ body => <<EOF,attachments => [{Type=>"text/plain",Charset=>"utf-8",Data=>encode_utf8(<<EOF2)}]) or fail('Unable to send message');