in reply to Sub routine used to send a mail
This can of course be incorporated into a sub if required.use MIME::Lite; my $msg = MIME::Lite->new( From => $from_address, To => $to_address, Subject => 'Hello world', Data => 'some body text' ); $msg->send;
Update: fixed some obvious syntax errors (well, obvious after a cup o' joe ;)
|
|---|