Set Content-Type and Content-Transfer-Encoding
[app-edwardng.git] / lib / App / EdwardNG.pm
index 94a5a200c2ed29c51e7c9f4b74ed2a3a24faa0b6..e6cea876b36c13094f4a61f95749673a3cecd984 100644 (file)
@@ -110,7 +110,7 @@ sub process_message {
        }
 
        debug 'This mail doesn\'t seem to be signed or encrypted';
-       return 'plain'
+       return 'plain', message => ''
 }
 
 sub run {
@@ -150,6 +150,8 @@ sub run {
        my $email = MIME::Entity->build(
                From    => $ENV{EDWARDNG_FROM},
                To      => $in->get('From'),
+               Type    => 'text/plain; charset=UTF-8',
+               Encoding=> '-SUGGEST',
                Subject => 'Re: ' . $in->get('Subject'),
                Data    => $keys.$result);
 
This page took 0.009676 seconds and 4 git commands to generate.