added myself to the contributors line(s)
[catagits/Catalyst-View-Email.git] / lib / Catalyst / View / Email.pm
index 70991c2..3c61149 100644 (file)
@@ -331,10 +331,9 @@ sub generate_message {
 
     # setup the attributes (merge with defaultis)
        $attr->{attributes} = $self->setup_attributes($c, $attr->{attributes});
-    return Email::Simple->create(
-        header => $attr->{header},
-        body   => $attr->{body}
-    );
+    Email::MIME->create(
+           %$attr
+       );
 }
 
 =back
@@ -385,6 +384,8 @@ Roman Filippov
 
 Lance Brown <lance@bearcircle.net>
 
+Devin Austin <dhoss@cpan.org>
+
 =head1 COPYRIGHT
 
 Copyright (c) 2007 - 2009