Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

mail with several attachments

Status
Not open for further replies.

wimvanherp

Programmer
Mar 3, 2001
149
BE
I do not find how to send a mail with several attachments. I'm working in Windows.

Can anybody help me ?

Wim Vanherp
 
Try using the Mime::Lite Module. It allows you build and send messages with attachments very easily.

- Rieekan
 
Thanks,

that's what i was looking for

Wim Vanherp
 
To attach with MIME::Lite, here's some sample code:

$msg->attach(Type => 'image/gif',
Id => 'myimage.gif',
Path > '/path/to/file.gif',
);
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top