in reply to using sendmail with perl, second email does not recognize anything but To:
This produces:#!/usr/bin/perl $string = "foo bar"; $string =~ s/\s+$//; print $string, "\n\n"; $string =~ s/[\r\n]+/ /gs; print $string, "\n\n";
NOTE: It is always dangerous to directly insert user input in a mail header; user input warrants careful scrutiny. The documentation on tainting in the perlsec reference is very helpful on this subject.foo bar foo bar
|
|---|