I'm writing a perl to scan logs for specific error messages and then email them out. I'm writing it in Perl since I can use it on UNIX(variants) and NT. Right now I'm trying to code up the line for NT to call sendmail.exe with the appropriate parameters... system("sendmail.exe -u cgrabowy -p doda -s " . $EmailSubject ." - r [EMAIL PROTECTED] -f " . $ErrorLogFile); but this returns the usage output for sendmail.exe It's as if all the parameters after sendmail.exe are being ignored. I played with several variations but I am getting no where. So checking out my four (useless?) Perl books, I came up with this format... `sendmail.exe` < "-u cgrabowy -p doda -s " . $EmailSubject ." - r [EMAIL PROTECTED] -f " . $ErrorLogFile; but now I don't see any output. Help? -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]