You are here: Home → Forum Home → Extensions → MX Notify Control → Thread
Hi Max:
Sent you a PM with a screenshot and also a copy-paste of the mail delivery error items. And yep, I tested the To: field and no issues using To:—the issue only happens when I have send to member groups selected.
Best,
Lea
Hey Max,
Sent you a PM as well with the info you requested.
Thx,
Danielle
ok. Lea & MadeBySpark could you please send me screenshot of your ext. setting for testing (to PM)? Also, can you check do you have this issue if you entered the same “to” email into communicator tool?
Thanks!
Any updates Max? Sorry to bug, but this has been a year old issue. Any help you can provide would be greatly appreciated!
Thanks,
Danielle
Hi Max:
Sent you a PM with a screenshot and also a copy-paste of the mail delivery error items. And yep, I tested the To: field and no issues using To:—the issue only happens when I have send to member groups selected.
Best,
Lea
Hey Lea,
Have you heard back at all?
Thx, D.
Max,
I have hacked the code for the 2.2.7 ext.mx_notify_control.php file and seem to have resolved the multiple email issues that several of us have reported since mid last year - this is specific (for me, at least) when sending to member groups.
Currently Distributed Code (starting at line 560):
foreach ($query->result_array() as $row)
{
$emails['m' . $row['member_id']] = array(
'mbr_username' => $row['email'],
'mbr_screen_name' => $row['screen_name']
);
}
Revised Code:
foreach ($query->result_array() as $row)
{
$emails['m' . $row['member_id']] = $row['email'];
}
Why I modified this:
Per the bug notices above by Made by Spark and my own posts, multiple emails to the single email target were sent, causing errors when sending email to the screen_name, as there is no MX server associated with a screen name.
Questions:
Does the removal of the screen name from the email array affect any other calls to this code?
Can you please test and confirm for everyone whether this fix breaks anything else?
Max, please feel free to adopt my hack if it will help stabilize the add-on. The add-on is necessary, and we appreciate your effort in developing it.
Cheers,
James
I tried this hack but I am still getting 2 emails for each new entry. One is the correct email and the other is the screenname@
sorry I hacked the wrong area it was line 520 in my file
I had that issue as well, and recall that I disabed and re-enabled the add-on to have the change loaded.
To do that with a minimum of headaches, you may find it very helpful to print out a copy of your settings before disabling MX Notify, so its quick and painless to re-set the current configuration. Let us know if it works for you, as Max seems to take some time in confirming.
In an notification email on an entry update; is it possible to send an email with only the fields that was updated? And is it possible to use custom fields for this?
Hi jlheine
I tried your hack and uninstalled the add-on but have had no luck with getting it to stop sending multiple emails when i have different member group notifications setup.
I am using it when a member registers via Solspace User.
Max, is there a solution coming soon?
Thanks