Jump to content

No Recipients > problem


mesas

Recommended Posts

Hi,

 

everthing just work fine with WHMCS, but before few days I have this error when try to send email my customers.

 

No Recipients

The criteria selected for this email has resulted in no recipients which means it cannot be sent

 

I use:

Centos + Cpanel + WHMCS v. 3.8.1

Link to comment
Share on other sites

  • 1 year later...
  • 1 month later...

I have the same issue as the first poster with my Mass-Mailer.

 

Here is what I pick:

 

Email type: General

 

Client group: Customer

 

Language: Default,Danish,English

 

Client Status: Active,Inactive,Closed

 

And the error:

No Recipients

The criteria selected for this email has resulted in no recipients which means it cannot be sent

arises.

 

How to fix this?

Link to comment
Share on other sites

Nevermind, i fixed it. It was due to not having any customers in the group named customers, so I created a hook to do it :)

 

If anyone wants the hook, here it is:

 

<?php 

function add_user_to_group($vars) {
mysql_query("UPDATE tblclients SET groupid = 2
WHERE id = ". $vars['userid'] ."");	
}

add_hook("ClientAdd",1,"add_user_to_group");

?>

 

This of course needs your default group to have the id 2.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated