
Cure
User
Apr 18, 2000, 8:19 PM
Post #2 of 2
(195 views)
|
#!/usr/bin/perl use MIME::Lite; # Create a new message: $msg = new MIME::Lite From =>'me@myhost.com', To =>'you@yourhost.com', Cc =>'some@other.com, some@more.com', Subject =>'A message with 2 parts...', Type =>'TEXT', attach $msg Type =>'TEXT', Path =>'hi.pdf', Filename =>'hi.pdf'; Send a message: # Send in the "best" way (the default is to use "sendmail"): $msg->send; Cure [This message has been edited by Cure (edited 04-18-2000).]
|