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', '');Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.