You should assert that the $name field does not contain any newlines or special characters, otherwise spammers will use that field to embed another mail. A script I wrote early in my career had that problem, and it wasn't long before it was exploited.
I also recommend sending mail via SMTP instead of through a local executable, as it will allow you more flexibility and portability. The sendmail implementation of the sendmail command could have different options than the postfix implementation, or even other sendmail versions.
In reply to Re: Sendmail Help!
by imp
in thread Sendmail Help!
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |