View Single Post
Old October 23rd, 2006, 01:30 AM
Pawan Sangal Pawan Sangal is offline
Registered User
Join Date: Jun 2006
Location: Gurgaon, Haryana, India.
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default 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