Help for this page

Select Code to Download


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