|
I created the script in Perl, but it doesn't send the email after submitting the form |
|
The created perl script uses sendmail, which is a standard and very used in Unix boxes. However, many security issues and anti spam measures are involved with sendmail, and almost all Unix hosting providers request that you add the -t and -i modifier to the sendmail path like this:
/usr/sbin/sendmail -t -i
Also, many other hosting providers request to use -f flag as an anti spam measure, which set the "from" address on the email to your real email address and the email won't go thru if you don't set this flag like this:
/usr/sbin/sendmail -t -e
This e-mail address is being protected from spambots. You need JavaScript enabled to view it
You must ask your hosting provider for the exact path of sendmail and flags or modifiers that must be used.
|