
Cure
User
Apr 15, 2000, 10:11 AM
Post #2 of 2
(262 views)
|
Hi perldoc MIME::Lite example use MIME::Lite; #Create a multipart message (i.e., one with attachments): $msg = new MIME::Lite From =>'joh@doe.net', To =>'jon@doe,net', Cc =>'john@doe,net, some@more.com', Subject =>'A message with 2 parts...', Type =>'multipart/mixed'; attach $msg Type =>'TEXT', Data =>"Here's the GIF file you wanted"; attach $msg Type =>'image/gif', Encoding =>'base64', Path =>'cure.gif', Filename =>'cure.gif'; $msg->send; Cure
|