Page 1 of 1

NMS dynamic lists

Posted: Fri Apr 25, 2014 12:52 pm
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?

Re: NMS dynamic lists

Posted: Fri Apr 25, 2014 12:56 pm
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?

Re: NMS dynamic lists

Posted: Fri Apr 25, 2014 12:57 pm
by Jos
Yes, I used two different and valid emailaddresses of my own

Re: NMS dynamic lists

Posted: Fri Apr 25, 2014 1:16 pm
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.

Re: NMS dynamic lists

Posted: Fri Apr 25, 2014 3:11 pm
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.

Re: NMS dynamic lists

Posted: Fri Apr 25, 2014 3:19 pm
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.

Re: NMS dynamic lists

Posted: Mon May 12, 2014 1:56 pm
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.