NMS dynamic lists

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
Jos
Support Guru
Support Guru
Posts: 4020
Joined: Wed Sep 05, 2007 8:03 pm

NMS dynamic lists

Post by Jos »

Somebody managed to send newsletters to a dynamic list with NMS module?

I created a simple UDT like the one explained in the module-help, with two valid emailaddresses

Code: Select all

$out = array();
$out[] = array('email'=>'user1@somedomain.org','username'=>'Some User Name');
$out[] = array('email'=>'user2@somedomain.org','username'=>'Some Other User Name');
return $out;
After creating and starting a Job, I get the "CGJobMgr Job has terminated" with status=finished mailnotification, but no newsletters are received.
The CMSms Admin-log mentions :

Code: Select all

46.144.181.34	admin	15	NMS	Job Finished: Opdracht aangemaakt op: 25-04-14 14:26:39	04/25/14 14:27:04
46.144.181.34	admin	15	CGJobMgr	Processing Job NMS - Opdracht aangemaakt op: 25-04-14 14:26:39	04/25/14 14:27:04
46.144.181.34	admin	 	NMS	Added 1 emails from udt Deelnemers_nieuwsbrief to job 15	04/25/14 14:27:03
46.144.181.34	admin	15	CGJobMgr	Processing Job NMS - Opdracht aangemaakt op: 25-04-14 14:26:39	04/25/14 14:27:03
46.144.181.34	admin	15	CGJobMgr	CGJobMgr - AutoJobHandler -- Executed task: process emails iteratively -- task status: complete	04/25/14 14:27:03
46.144.181.34	admin	 	NMS	Error sending email to : invalid email address	04/25/14 14:27:03
46.144.181.34	admin	15	CGJobMgr	Processing Job NMS - Opdracht aangemaakt op: 25-04-14 14:26:39	04/25/14 14:27:03
46.144.181.34	admin	15	CGJobMgr	CGJobMgr - AutoJobHandler -- Executed task: setup -- task status: complete	04/25/14 14:27:03
46.144.181.34	admin	15	CGJobMgr	Processing Job NMS - Opdracht aangemaakt op: 25-04-14 14:26:39	04/25/14 14:27:02
46.144.181.34	admin	15	CGJobMgr	New job created: NMS - Opdracht aangemaakt op: 25-04-14 14:26:39 with priority 200	04/25/14 14:26:56
Sending newsletters to normal lists works great.
Using:
CMSms 1.11.10
NMS 2.8.2
CGJobMgr 1.3.1
php 5.3.28

Am I doing something wrong or is this a known issue?
User avatar
Jo Morg
Dev Team Member
Dev Team Member
Posts: 1978
Joined: Mon Jan 29, 2007 4:47 pm

Re: NMS dynamic lists

Post by Jo Morg »

46.144.181.34 admin NMS Error sending email to : invalid email address 04/25/14 14:27:03
Just checking, are the emails valid?
"There are 10 types of people in this world, those who understand binary... and those who don't."
* by the way: English is NOT my native language (sorry for any mistakes...).
Code of Condut | CMSMS Docs | Help Support CMSMS
My developer Page on the Forge
GeekMoot 2015 in Ghent, Belgium: I was there!
GeekMoot 2016 in Leicester, UK: I was there!
DevMoot 2023 in Cynwyd, Wales: I was there!
Jos
Support Guru
Support Guru
Posts: 4020
Joined: Wed Sep 05, 2007 8:03 pm

Re: NMS dynamic lists

Post by Jos »

Yes, I used two different and valid emailaddresses of my own
User avatar
Jo Morg
Dev Team Member
Dev Team Member
Posts: 1978
Joined: Mon Jan 29, 2007 4:47 pm

Re: NMS dynamic lists

Post by Jo Morg »

Ok I did my own test with the sample code you posted (same as the sample from the Help from NMS), used a couple of emails of my own and it worked as expected.
using CMS Made Simple 1.11.10 and NMS 2.7.
No errors were logged, on my admin log. Emails were sent and arrived.
I didn't upgrade NMS yet, but will when possible.
"There are 10 types of people in this world, those who understand binary... and those who don't."
* by the way: English is NOT my native language (sorry for any mistakes...).
Code of Condut | CMSMS Docs | Help Support CMSMS
My developer Page on the Forge
GeekMoot 2015 in Ghent, Belgium: I was there!
GeekMoot 2016 in Leicester, UK: I was there!
DevMoot 2023 in Cynwyd, Wales: I was there!
Jos
Support Guru
Support Guru
Posts: 4020
Joined: Wed Sep 05, 2007 8:03 pm

Re: NMS dynamic lists

Post by Jos »

Thank you Jo Morg.
Obviously I do something wrong. I tried again as plain as possible with new UDT and other emailaddresses and a new dynamic list but still didn't receive any newsletters.

Guess I have to dig into it some more.
User avatar
Jo Morg
Dev Team Member
Dev Team Member
Posts: 1978
Joined: Mon Jan 29, 2007 4:47 pm

Re: NMS dynamic lists

Post by Jo Morg »

No problem.
There is always the possibility of some changes from one version of NMS to the other. At the moment I can't upgrade this installation without doing some backups as it is a live site and I don't have the time right away. But if I can be of further assistance let me know.
"There are 10 types of people in this world, those who understand binary... and those who don't."
* by the way: English is NOT my native language (sorry for any mistakes...).
Code of Condut | CMSMS Docs | Help Support CMSMS
My developer Page on the Forge
GeekMoot 2015 in Ghent, Belgium: I was there!
GeekMoot 2016 in Leicester, UK: I was there!
DevMoot 2023 in Cynwyd, Wales: I was there!
Jos
Support Guru
Support Guru
Posts: 4020
Joined: Wed Sep 05, 2007 8:03 pm

Re: NMS dynamic lists

Post by Jos »

Oke, I tested with another CMSms 1.11.10 instance on the same server.

1) Dynamic lists work great with:
- CGExtensions 1.31.2
- CGJobMgr 1.2.11
- NMS 2.7

2) Dynamic lists also work with:
- CGExtensions 1.35
- CGJobMgr 1.2.15
- NMS 2.7.4

3) Dynamic lists don't work anymore with
- CGExtensions 1.38.8
- CGJobMgr 1.3.1
- CGSimpleSmarty 1.7.2
- NMS 2.8.3

Error message in admin log:
"Error sending email to : invalid email address"
But the email-array is the same in all three cases.

I will file a bugreport.
Post Reply

Return to “Modules/Add-Ons”