in reply to using sendmail with perl, second email does not recognize anything but To:

Just a guess: Header and body of an eMail are separated by an empty line. A (CR)/LF might have been sneaked into one of your variables. You should substitute each occurrence of \n \r or \x0a \x0c \x0d from your header-$variables before the template is evaluated.

  • Comment on Re: using sendmail with perl, second email does not recognize anything but To: