> -----Original Message----- > From: Yuen, Alex [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, September 04, 2002 11:17 AM > To: 'Perl Beginners' > Subject: Newbie question - Can smtp send attachments? > > > Hi, > > Is it possible to send attachments using NET::SMTP?
Well, yes. But SMTP doesn't really know or care about "attachments". The trick is to prepare a multipart MIME message that contains the attachments and then send that using SMTP. > > Will I need to use a seperate module in my script? If so, > which one and how? I like MIME::Lite. Download from CPAN and read the docs. Very simple to use. It can do the sending, or you can use Net::SMTP to send the message if you like. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]