I have used Mail::Sender for a number of years and I have had to move onto new VM for Processing.
The Linux is Red Hat Enterprise Linux Server release 5.4 (Tikanga). Perl is v5.8.8 built for x86_64-linux-thread-multi Mail::Sender is 8.21 I am only sending attachment file along with a couple of lines of text, BUT somehow in doing the send, I end up with the following error: Unknown encoding '522' at /usr/lib/perl5/site_perl/5.8.8/Mail/Sender.pm line 96 I have contacted Jenda and he replied back on the initial email and I did what Jenda suggested and going into the sending of the email, the default hash has nothing it, but we end up with the above. The kicker is that I am running similar code on Solaris, Desktop and another VM running Perl from 5.8.3 to 5.12.4 using Mail::Sender from 8.13 to 8.21 and those Perl scripts are working correctly in sending the email with the attachment and no errors. I have another script I am running using Mail:Sender, but the attachment files are anywhere from 10,000 to 150,000 bytes in size and it works just as expected... I also use Mail::Sendmail in all the emails that don't have attachments as per the doc I read, Sendmail does not handle large attachment files cleanly... The nice thing about using Perl PMs is that I can switch back and forth between the different environments and everything works pretty much the same. Makes writing the script easy also as I only have to have the PMs loaded and everything works. ( Have been doing this for almost 20 years now and this is really the first time I have had a problem in working on one system, but not on another ). The bottom line is has anyone else had problems with sending large email attachments? If so what did you do to correct or did you try another approach to handle? I am really looking for a Perl solution so I don't have to do it one way in a Unix/Linux environment and another in Windows environment. I am sure Jenda will reply as he replied to my first emails, but I am running out of time on a project that I need to close. Any suggestions or ideas would be greatly appreciated... If you have any questions and/or problems, please let me know. Thanks. Wags ;) David R. Wagner Senior Programmer Analyst FedEx Services 1.719.484.2097 Tel 1.719.484.2419 Fax 1.408.623.5963 Cell http://Fedex.com/us -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/