Closed lonerr closed 13 years ago
Hi, thanks for the patch. Can you provide this as a pull request?
Hello!
On Jun 20, 2011, at 12:42 AM, ironcamel wrote:
Hi, thanks for the patch. Can you provide this as a pull request?
Pull request sent :)
Reply to this email directly or view it on GitHub: https://github.com/ironcamel/Dancer-Plugin-Email/issues/3#issuecomment-1398850
Cheers, Oleg A. Mamontov
mailto: oleg@mamontov.net
jabber: lonerr@charla.mamontov.net icq uin: 79-521-617 cell: +7-903-798-1352
Thanks! I will look at it as soon as I can. Ping me again if I haven't pulled it by the weekend.
I just pulled your changes and pushed a new release to CPAN. Thank you :)
Hello! I wrote small patch to support Content-Transfer-Encoding header. My config seems now like: plugins: Email: .... encoding: base64
Could you accept this patch? Thank you an advance.
--- Dancer/Plugin/Email.pm.orig 2011-06-19 20:55:21.000000000 +0400 +++ Dancer/Plugin/Email.pm 2011-06-19 20:57:56.000000000 +0400 @@ -46,6 +46,9 @@ if ($options->{subject}) { $self->subject($options->{subject}); } +
process encoding
$options->{encoding} ||= 'quoted-printable';
process message
my $message = $options->{message}; @@ -55,15 +58,17 @@ if ($type eq 'multi') { die 'message param must be a hashref if type is multi' unless ref $message eq 'HASH';
standard send using html or plain text