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

After upgrade : exp:email:contact_form is not using Webmaster email and results an error

Development and Programming

Gurudutt Verma's avatar
Gurudutt Verma
74 posts
14 years ago
Gurudutt Verma's avatar Gurudutt Verma

After last upgrade to ee v2.2.1

exp✉️contact_form is not using Webmaster email and generate error “em_no_valid_recipients” OR “Your email had no valid recipients.”

I am using contact form as

{exp:email:contact_form charset="utf-8" return="{site_url}contact/response"}
.
.
.
.
{/exp:email:contact_form}

It was working before but after last upgrade it stopped working and it gives error after clocking send button on contact us form : “Your email had no valid recipients.”

I just looked in to issue and I applied a patch to fix it :

--- system/expressionengine/modules/email/mod.email.php.orig        2011-07-25 12:37:12.000000000 +0200
+++ system/expressionengine/modules/email/mod.email.php     2011-07-25 12:37:24.000000000 +0200
@@ -61,7 +61,7 @@
                $tagdata = $this->EE->TMPL->tagdata;
 
                // Recipient Email Checking
-               $this->_user_recipients = $this->EE->TMPL->fetch_param('user_recipients', 'false');
+               $this->_user_recipients = $this->EE->TMPL->fetch_param('user_recipients', false);
                $recipients = $this->EE->TMPL->fetch_param('recipients', '');
                $channel = $this->EE->TMPL->fetch_param('channel', '');
       
Gurudutt Verma's avatar
Gurudutt Verma
74 posts
14 years ago
Gurudutt Verma's avatar Gurudutt Verma

Just guessing It might be a result of fix for this: https://support.ellislab.com/bugs/detail/15401

I didn’t found if this issue was reported before so I will report it.

       
Gurudutt Verma's avatar
Gurudutt Verma
74 posts
14 years ago
Gurudutt Verma's avatar Gurudutt Verma

I just reported it here : https://support.ellislab.com/bugs/detail/16265/

       
Jon @ Kernel's avatar
Jon @ Kernel
122 posts
14 years ago
Jon @ Kernel's avatar Jon @ Kernel

Just to confirm that I had the same issue on a client site and it was fixed by your patch, Gurudutt - thanks! I’ll make a comment on the bug tracker too.

       
Gurudutt Verma's avatar
Gurudutt Verma
74 posts
14 years ago
Gurudutt Verma's avatar Gurudutt Verma

You are welcome Vanquished 😊

       

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.