in reply to using sendmail with perl, second email does not recognize anything but To:
Hi,
Why you don't use a module like Mail::Sendmail or Mail::Mailer?
Regards,