You need to encode your binary attachments before sending the email.
You need to encode your binary attachments before sending the email. $_->encoding_set( 'base64' ) for $email->parts; I don't know Email::MIME. I use MIME::Lite and never had any problem because encoding is done automatically.
### Start with a simple text message: $msg = MIME::Lite->new( From =>'me@myhost. Com', To =>'you@yourhost. Com', Cc =>'[email protected], some@more.
Com', Subject =>'A message with 2 parts...', Type =>'TEXT', Data =>"Here's the GIF file you wanted" ); ### Attach a part... the make the message a multipart automatically: $msg->attach(Type =>'image/gif', Path =>'aaa000123. Gif', Filename =>'logo. Gif' ); MIME::Lite->send('smtp', "smtp.myisp.
Net", AuthUser=>"YourName", AuthPass=>"YourPass"); $msg->send.
Thank-you for reply PacoRG - I can see where you are going - but you do not get an $email object until you have made the call and passed the array of email parts - Completely confusing all this... – MikeSNnowhill Apr 5 at 11:17 btw - I just tried the MIME::Lite example and it works :-) :-( - the project requires me to use Email::Simple - apparently because it needs to work with gmail, and I believe that MIME::Lite cannot handle it. – MikeSNnowhill Apr 5 at 11:28 I edited my answer. I meant before sending the email, before Email::Sender::Transport::SMTP->new, sorry for confusing you.
– PacoRG Apr 5 at 13:05 ok well thanks for that - put it back in but still does not work - I get an empty PDF doc - the MIME::Lite version you mentioned worked, but will not work with gmail...ARghhh! Just cannot seem to get any joy here.. – MikeSNnowhill Apr 5 at 15:58.
I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.