![]() |
How to send attachments through a SMTP server
Hello Friends,
I want to send attachments through a SMTP server. Iam already sending mails through it (using Net::SMTP utility). But, till now Iam only able to send only messages and not with attachments. Can anybody tell me how to send attachments while sending mails on other's mail id. As, Iam novice to Perl, It will be greatly helpful for me if anyone can provide me a code for sending the attachment. So, I could be able to send both message and attachment together. It will be better, if someone can guide me for that or using Net::SMTP utility. Thanks in advance...... Pawan Sangal |
It'd be a big job. Use MIME::Lite instead would be my advice.
http://search.cpan.org/~yves/MIME-Li...b/MIME/Lite.pm HTH -- Don't Stand on your head - you'll get footprints in your hair http://charlieharvey.org.uk http://charlieharvey.com |
Code:
#! /usr/bin/perl www.crmpicco.co.uk www.ie7.com |
|
All times are GMT -4. The time now is 09:20 PM. |
Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.