Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

All other Modules /

Discuss all other Modules here.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

newsletter module failing


Go to End


6 Posts   983 Views

Avatar
JonShutt

Community Member, 244 Posts

6 September 2011 at 4:26pm

Hi,
I've installed the newsletter module, and for some reason it's getting stuck when going through my members list, and failing to send.

If if create a group of just a few members, it works fine, but doesn't do anything when i send it the full list (about 2000 people). The majority of the records were imported from an old database, and weren't added in silverstripe. There are also duplicate accounts using the same email addresses - could list be causing problems?

I'm not sure if it's sending any emails - but i don't think it is.

Any ideas? how could I find out where it's failing?

Thanks

Avatar
MarcusDalgren

Community Member, 288 Posts

6 September 2011 at 10:24pm

The module sends the emails in batches so it's probably failing when trying to send the second batch. If you have a browser with a development toolbar like firebug then you can watch the AJAX requests and find out what's going on.

Avatar
swaiba

Forum Moderator, 1899 Posts

7 September 2011 at 1:02am

My idea would be to use mailchimp instead (with http://code.google.com/p/silverstripechimpy/) because the newsletter module is seriously lacking.

Avatar
JonShutt

Community Member, 244 Posts

7 September 2011 at 8:42am

hmm. i'll try looking through the ajax stuff. didn't do that yet.

mailchimp would be ok, but it's only free under 2000 emails. i'm sending just over 2000... i could remove some names, or change the list and send in 2 batches...

i'm only sending emails very occasionally - eg, every year or so, so i thought the newsletter module might be useful

my worry about testing without really knowing what's going on is that i don't want to send lots of emails out to the first few people!

Avatar
JonShutt

Community Member, 244 Posts

7 September 2011 at 9:48am

ok, i did a test on a short list containing 2 records with the same email address - and the list failed.
removing the duplicate email it worked. i'll have to go through my database soon and remove the duplicate emails, and see if i can send then...

Avatar
JonShutt

Community Member, 244 Posts

7 September 2011 at 2:58pm

ok, i removed all the duplicate emails (i'm pretty sure!)
i ran the newsletter in firefox, and watched the error console and firebug, but didn't see any errors.
when i press send, the wee box in the bottom right closes after about 1 second, and then nothing - it doesn't give any errors, or move the newsletter from 'drafts' to 'sent items'...