in reply to
MIME::Lite in CGI hangs if there are attachments
Only a thought, and your code snippet is probably just an example, but does '/file.exe' exist? In your root dir? Maybe './file.exe'? Try checking the return value of attach(). Best o'luck.
Comment on
Re: MIME::Lite
In Section
Seekers of Perl Wisdom