"Mike Gargiullo" <[EMAIL PROTECTED]> writes: > open (MAIL, "|/usr/sbin/sendmail -t -oi") || die "Can't fork for > sendmail:$!\n"; > print MAIL <<EOF; > From: from_email_address > To: to_email_address > Subject: subject here > Date: date here > MIME-Version: 1.0 > Content-Type: multipart/alternative; > boundary="----_=_NextPart" > > ------_=_NextPart > Content-Type: text/plain; > charset="iso-8859-1" > plain text here
Thanks for providing the skeleton for OP to be text-friendly. Is there a html2text script that can be used to prevent the writer from creating 2 versions? This reeks of maintenance headaches. > ------_=_NextPart > Content-Type: text/html; > charset="iso-8859-1" > > <html> > <body bgcolor="white"> > > HTML mail here > > <hr><br><font size="-1"> > > > </font> > </body></html> > ------_=_NextPart-- > EOF > close(MAIL) || warn "sendmail didn't close nicely\n"; -- Michael R. Wolf All mammals learn by playing! [EMAIL PROTECTED] -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]