In the log I see this:
[2010-10-19 11:40:47] (ERROR @ /index.php) You must provide an email address to send to
I did a test to see if mail() is working and it works fine
In the emailTo is my emailadres yet it keeps asking for an email address to send to???? I moved everything from my local server to an online host and again the same problem.
[[!FormIt?
&hooks=`email,redirect`
&submitVar=`emailbtn`
&emailTpl=`MyEmailChunk`
&emailTo=`
[email protected]`
&store=`yes`
&redirectTo=`409`
&validate=`name:required,
email:email:required,
subject:required,
text:required:stripTags
]]
<p>[[+fi.error.error_message]]</p>
<form class="form" action="[[~[[*id]]]]" method="post">
<input name="nospam:blank" type="hidden" />
<label for="name">
Naam:
<span class="error">[[+fi.error.name]]</span>
</label>
<input id="name" name="name:required" type="text" value="[[+fi.name]]" />
<br class="clear" />
<label for="email">
E-mail:
<span class="error">[[+fi.error.email]]</span>
</label>
<input id="email" name="email:email:required" type="text" value="[[+fi.email]]" />
<br class="clear" />
<label for="subject">
Onderwerp:
<span class="error">[[+fi.error.subject]]</span>
</label>
<input id="subject" name="subject:required" type="text" value="[[+fi.subject]]" />
<br class="clear" />
<label for="text">
Boodschap:
<span class="error">[[+fi.error.text]]</span>
</label>
<textarea id="text" cols="55" rows="7" name="text:required:stripTags">[[+fi.text]]</textarea>
<br class="clear" />
<div class="form-buttons">
<input type="submit" name="emailbtn" value="Verzenden" />
</div>
</form>
<br class="clear" />