We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

[SOLVED] A valid sender email is required

How Do I?

fanderson's avatar
fanderson
883 posts
4 years ago
fanderson's avatar fanderson

I am setting up a new site with EE 6 and I am having trouble with the mail form. I have tried using PHP Mail and SMTP and both generate errors.

When I use PHP Mail I get the following error when I try and submit the form located here: http://kodiakco.us

“A valid sender email is required”

In the control panel I set email settings to use a domain specific email.

I would appreciate some help sorting this out.

       
Rob Allen's avatar
Rob Allen
2,950 posts
4 years ago
Rob Allen's avatar Rob Allen

Have you included an email address in the form tag

{exp:email:contact_form user_recipients="no" recipients="[email protected]" charset="utf-8"}
       
fanderson's avatar
fanderson
883 posts
4 years ago
fanderson's avatar fanderson

Hi Rob,

Got it sorted out. I had changed the ‘from’ field to ‘email’ which messed it up. When I changed it to this everything worked fine:

<label for="from"></label>

        <input type="text" class="px-2" id="from" name="from" placeholder="Email*"  value="" />
       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.