X-Git-Url: http://git.ieval.ro/?a=blobdiff_plain;f=lib%2FApp%2FEdwardNG.pm;h=e6cea876b36c13094f4a61f95749673a3cecd984;hb=d4b0b0760240ee6298914e421cea65236241fc3a;hp=94a5a200c2ed29c51e7c9f4b74ed2a3a24faa0b6;hpb=2f363992eb7c1ca18e787bce8729d6cc2167da76;p=app-edwardng.git diff --git a/lib/App/EdwardNG.pm b/lib/App/EdwardNG.pm index 94a5a20..e6cea87 100644 --- a/lib/App/EdwardNG.pm +++ b/lib/App/EdwardNG.pm @@ -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);