Maybe the problem is known and already solved, but I could not find any hint on it.
I am using the e-mail contact form to allow visitors to send an email directly from our site. But instead of the variables ‘name’ and ‘from’ of the form fields, the e-mail-address and name of the e-mail configuration tab of the system preferences is used and displayed as addresser in the outgoing e-mail. The variables ‘subject’ and ‘message’ of the form are correctly implemented and transfered. Leaving the fields of the e-mail configuration tab blank, the e-mail of the form will not be send. Sending an e-mail by the communicate tab works fine with any e-mail address and name. How can I tell EE to use the variables of the form for the outgoing mail.
Here my code:
{exp:email:contact_form user_recipients="false" recipients="[email protected]" return="|Return to the Site" replyto="y"}
<h2>Kontaktformular</h2>
<p> <label for="to" >An: </label></p>
<p> <input type="text" id="to" name="to" size="35" maxlength="35" value="myname" readonly="readonly" /><br ><br />
<label for="name" >Ihr Name: *</label></p>
<p> <input type="text" id="name" name="name" size="35" maxlength="35" value="{member_name}" /><br ><br />
<label for="from" >Ihre E-Mail: *</label></p>
<p> <input type="text" id="from" name="from" size="35" maxlength="35" value="{member_email}" /><br ><br />
<label for="subject">Worum geht es? </label></p>
<p> <input type="text" id="subject" name="subject" size="35" /><br ><br />
<label for="message">Ihre Nachricht: </label></p>
<p> <textarea id="message" name="message" rows="5" cols="28"></textarea></p>
<p> </p>
<p> {if captcha}<br />
<label for="captcha">Bitte tragen Sie das angezeigte Wort ein:</label></p>
<p> {captcha} </p>
<p> <input type="text" id="captcha" name="captcha" value="" maxlength="20" /></p><br />
{/if}<br />
</p>
<p> <input name="submit" type="submit" class="right" title="Absenden - Bitte nur einmal klicken" value="Absenden" /></p><br />
{/exp:email:contact_form}