Hi,

you are using "From $email" as header when sending to the person. So in practice this would mean that somebody with an address
like [email protected] would eventually receive a message that can be traced to your server but says "Frem: [email protected]"

There are a few systems around that try to limit fake emails. The sending domain (would be hotmail here) declares that all mails from hotmail members is sent through a given list of mailservers, and every recipient is free to view such lists and throw mail into the junk folder.

So I would suggest to change the mail to person "From" to [email protected], [email protected], or a valid contact,

Another point worth looking: the mails that are actually delivered may or may not have a valid To header. If they do not, add "To: $email"
to the headers.
I have set up my personal inbox so that anything without me appearing in To or Cc (and not on a whitelist) gets delivered with a big "SUSPICIOUS" added to the subject....

Musicman