Paul,
one of my favorite lines in my scripts is:

open LETTER, "|mailx -s "SUBject Here!!" someone\@somewhere.com <
/some/file";

open LETTER, "|mail -s "SUBject Here!!" someone\@somewhere.com <
/some/file";

This sends an email with an whatever is in /some/file in the body.   I don't
know if this exactly solves your problem, but there might be a way to tweak
this to make it be an attachement?   Just guessing.   Hope it leads to
something,
Paul


-----Original Message-----
From: paul beckett (JIC) [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, November 27, 2001 4:41 AM
To: [EMAIL PROTECTED]
Subject: Send e-mail attachment
Importance: High


Does anybody know how I can send a smallish binary file as an e-mail
attachment, from perl (running on UNIX (OSFv.4.0))

Thanks

Paul

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to