I have been having issues with the FormItAutoResponder not sending a confirmation email. When I include the fiarFrom property and give it a value, it will not send an email. However, when I manually change emailsender to the value I gave fiarFrom, it WILL send the email. I'm running MODX Revolution 2.2.4-pl and FormIt 2.1.1.
Here's the snippet call:
[[!FormIt?
&hooks=`email,FormItAutoResponder,redirect`
&emailTpl=`sentEmailTpl`
&emailTo=`[email protected]`
&emailFrom=`[email protected]`
&emailFromName=`[[+name]]`
&emailSubject=`Message from My Website`
&validate=`name:required,
email:email:required,
message:required`
&redirectTo=`4`
&fiarTpl=`autoResponseTpl`
&fiarFrom=`[email protected]`
&fiarFromName=`MySite.com`
&fiarSubject=`Thank You for Contacting Us`
&fiarReplyTo=`[email protected]`
&fiarReplyToName=`Webmaster`
]]
And the form HTML:
<form action="[[~[[*id]]]]" method="post">
<div class="form"><label for="name">Name</label>
<input id="name" type="text" name="name" value="[[!+fi.name]]" size="30" />
<span class="error"> [[!+fi.error.name]]</span>
</div>
<div class="form"><label for="email">Email Address</label>
<input id="email" type="text" name="email" value="[[!+fi.email]]" size="30" />
<span class="error"> [[!+fi.error.email]]</span>
</div>
<div class="form"><label for="phone">Phone Number</label>
<input id="phone" type="text" name="phone" value="[[!+fi.phone]]" size="15" />
</div>
<div class="form"><label for="message">Message</label>
<textarea id="message" name="message" rows="10" cols="48">[[!+fi.message]]
[ed. note: chrismaxie last edited this post 11 years, 9 months ago.]