An 'attachment' exists because of MIME the Multipurpose Internet Mail Extensions. MIME allows you to send an 'attachment' in an email which is essentially a just a plain text data stream. To generate this MIME formatted plain text for transmission by Net::SMTP I suggest you use MIME::Lite or MIME::Entity To see what MIME actually looks like print $msg->as_string if you are following the example code in the modules.
cheers
tachyon
s&&rsenoyhcatreve&&&s&n.+t&"$'$`$\"$\&"&ee&&y&srve&&d&&print
In reply to Re: The best way to attach a acalar
by tachyon
in thread Sending a variable's content as mail attachment
by sdyates
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |