|We don't bite newbies here... much|
Bound to Mail::Sendmail and need attachmentsby frankus (Priest)
|on Jul 29, 2002 at 09:31 UTC||Need Help??|
frankus has asked for the
wisdom of the Perl Monks concerning the following question:
Due to constraints I've had to roll my own attachment doohicky for Mail::SendMail.
It takes a hash of "filenames" and "contents",
the original script it's taken from here handles files using a binary read of files to be attached.
Here seems to be the problem, the encoding for the files seems to be duff, using quotable text,
I'm sending an XML attachment.
My code generates strings, I'm loathe to print them to a file and read them back using binmode,