ini_set ("SMTP","localhost");
ini_set ("sendmail_from","[email protected]");
You’re missing out a variable which states who the email is from (it’s an RFC 2822 requirement)
ini_set ("sendmail_from","[email protected]");[!eForm? &formid=`ContactForm` &tpl=`ContactForm` &report=`ContactReport` &subject=`sottwell.com Contact` &thankyou=`ThankYou` &from=`[+email+]` &fromname=`[+name+]` &replyto=`email` &debug=`1` &eformOnBeforeMailSent=`getServer` &eformOnValidate=`checkField`!]
&from=`[+email+]` &fromname=`[+name+]`
ini_set ("sendmail_from","[email protected]");<input name="email" .../> <input name="name" ... />
<input name="email" .../>
<input name="name" ... />