It means your script isn't submitting mail properly. You can use the
sendmail command. e.g.
Code:
sendmail -t -i < /tmp/email.txt
It's also possible to use the
mail command.
Note: If you use
sendmail as above, the email.txt file would have to contain the headers, e.g.
Code:
From: me@here
To: you@there
Subject: Greeting
The body goes here.
...