I am setting up a new site using EE 6 and I am having issues with the form. I have set the Outgoing email settings and have a valid email.
Here is the form:
{exp:email:contact_form user_recipients="no" class=" bg-light-blue mx-auto" recipients="[email protected]" charset="utf-8"}
<div class="form-header bg-blue pt-2">
<p class="white-text text-center" style="font-size: 1.5rem; margin-top: .2rem;">Get a free estimate</p>
</div>
<p>
<label for="from"></label><br />
<input type="text" id="from" name="from" placeholder="Name*" value="" />
</p>
<p>
<label for="email"></label><br />
<input type="text" id="email" name="email" placeholder="Email*" value="" />
</p>
<p>
<label for="phone"></label><br />
<input type="text" id="phone" name="phone" placeholder="Phone" value="" />
</p>
<p>
<label for="message"></label><br />
<textarea id="message" name="message" class="pt-2 px-2" id="comments" placeholder="Tell us about your project, ask questions and let us know when you would be available to discuss your project and get a free estimate of the cost."></textarea>
</p>
<p>
<input name="submit" type='submit' value='Submit Form' />
</p>
{/exp:email:contact_form}
I have tried PHP, Sendmail and SMTP but keep getting the following error:
A valid sender email is required
I am not sure what I am doing wrong on this.
Thanks.