Help for this page
$smtp->datasend("Content-type: multipart/mixed; boundary=\"frontier\"\n"); ... $smtp->datasend("Content-type: multipart/mixed; boundary=\"frontier\"\n");
my $body = .... my $attach = .... # base 64 encoded data ... $smtp->datasend($email) $smtp->dataend() $smtp->quit;