Permalink
Browse files

add content-type and content-transfer-encoding

  • Loading branch information...
1 parent f6b9f23 commit ad16b0f56cac0854ecdc302731ca096011621923 @throughnothing committed Dec 6, 2011
Showing with 4 additions and 0 deletions.
  1. +4 −0 bin/worker.pl
View
@@ -62,6 +62,10 @@ sub send_email {
@to,
From => $data->{from},
Subject => $data->{subject},
+ 'Content-Type' => $data->{content_type} ||
+ 'text/html; charset=us-ascii',
+ 'Content-Transfer-Encoding' => $data->{content_transfer_encoding} ||
+ 'quoted-printable',
],
body => $data->{body},
);

0 comments on commit ad16b0f

Please sign in to comment.