Email::MIME issues

2009-02-15 Thread Lyle
:- Lyle #!/usr/bin/perl use strict; use warnings; use Email::Stuff; use Data::Dump qw(dump); my $ea = Email::Stuff-from('y[...]z.com')-subject('hello')-to('x[...]y.com') -using( SMTP = '127.0.0.1' )-text_body( 'Hello mum', 'charset' = 'utf-8', 'content_transfer_encoding' = '8bit', ); #print dump

Re: Email::MIME issues

2009-02-16 Thread Lyle
Update:- I've improved the code snippet below to be more clear of what's happening. I guess the question really is, should Email::MIME take the single parts headers, when only one part is added to the containing Email::MIME object? Or should the single parts headers be lost, and the