[EMAIL PROTECTED] writes ..

>Please how do i (the actual commands) send an file (html) as 
>an attachment using sendmail in pelr with no MIME intalled?


I can't remember what options you need to give to sendmail .. and I don't
have sendmail here to test .. but you'll get the idea

  open MAIL, '|/usr/ucb/sendmail' or die "Bad pipe: $!";

  print MAIL <<EOF;
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: some test subject
Content-type: text/html

<!-- now you can put HTML that most mail readers will render for you -->

EOF

  close MAIL or die "Bad pipe close: $!";

  __END__


hope that helps

-- 
  jason king

  In Hibbing, Minnesota, it shall be the duty of all policemen to kill
  all cats running at large. - http://dumblaws.com/

Reply via email to