You are right off course,.. silly me.
Thought it defaulted to [(emailsender)]?
Interesting... looking closely at the full headers, one is sent to the [(emailsender)] address, the empty one is sent to the user’s email address (I was using another of my addresses).I think the culprit may be $autotext (&automessage). If not used it is set to an empty string and perhaps this is not evaluated as a false in the code. Try changing line 52 in the snippet to:
'autotext' => isset($automessage)? $automessage:false;
[+validationmessage+][+ef_wrapper+] <form method="post" action="[~[*id*]~]"> <input type="hidden" name="formid" value="form" /> <div class="champ"> <label for="form-nom" >Nom<span class="req">* </span> :</label> <input type="text" id="form-nom" name="Nom" size="40" maxlength="255" eform="Nom:string:1" /> </div>
[!eForm? &formid=`form` &to=`[email protected]` &from=`[email protected]` &afromname=`bsa.fr` &replyto=`email` &tpl=`Contact` &report=`ContactReport` &thankyou=`ContactThankYou` &subject=`Contact depuis le site` &language=`francais-utf8` &sendAsHtml=`1` &requiredClass=`error-req`!]
and the call :
[!eForm? &formid=`form` &to=`[email protected]` &from=`[email protected]` &afromname=`bsa.fr` &replyto=`email` &tpl=`Contact` &report=`ContactReport` &thankyou=`ContactThankYou` &subject=`Contact depuis le site` &sendAsHtml=`1` &requiredClass=`error-req`!]
)
@Cassel : I tried to remove the &language but eForm is still displayed in french ! Maybe it uses the MODx manager parameter ?