Jump to:

10930 Posts in 2613 Topics by 1810 members

All other Modules

SilverStripe Forums » All other Modules » Newsletter SS3 - Getting newsletters to SEND!

Discuss all other Modules here.

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

Page: 1
Go to End
Author Topic: 663 Views
  • novaweb
    Avatar
    Community Member
    111 Posts

    Newsletter SS3 - Getting newsletters to SEND! Link to this post

    Hey Team,

    Have installed newsletter via composer, and also installed message-queue and added the following to my _config.php

    MessageQueue::add_interface("default", array( "queues" => "/.*/", "implementation" => "SimpleDBMQ", "encoding" => "php_serialize", "send" => array( "onShutdown" => "all" ), "delivery" => array( "onerror" => array( "log" ) )));

    (I'm not sure if "default" is meant to be a placeholder for the intended configuration.)

    As per the doc on GitHub.

    My problem is, the messages are Queued for Sending, but remain in a "Sending" state... and never actually send.

    If someone can help me out I will happily document getting newsletter/messagequeue working together nicely and submit it back to SilverStripe so people have a guide to follow in future.

  • Peavers
    Avatar
    Community Member
    8 Posts

    Re: Newsletter SS3 - Getting newsletters to SEND! Link to this post

    Would also really like to know how to sort this out. I can't seem to find any error logs or debugging information is to why they are not sending. If I remove message-queue (as its not required, only recommended ) I just get a "Failed" message instead of "Sending".

    I also note that under the Sent Newsletter tab, clicking on a previous newsletter it says "Send To (none)" instead of the mail list it was supposed to use.

    This is on the latest 3.05 install.

  • nos4a2
    Avatar
    Community Member
    2 Posts

    Re: Newsletter SS3 - Getting newsletters to SEND! Link to this post

    Hi,

    Does anyone have a solution for this? Without messagequeue module everything works, but with this module the messages stay scheduled forever. What am I missing??

    Thanks,
    Christoph

  • Sygmoral
    Avatar
    Community Member
    23 Posts

    Re: Newsletter SS3 - Getting newsletters to SEND! Link to this post

    I have this issue too now. Newsletters stayed as "Scheduled", and restarting the queue didn't make a difference. I had to remove the messagequeue module to get the newsletter to actually send.

    But 4 months ago it worked perfectly. Because of that, I think it has something to do with permissions: I reduced a lot of the permissions recently, giving apache only read access to everything (except the upload folder and language files). Can't immediately get it back to work though.

    Does MessageQueue require write- or execute permissions anywhere? Or does any user other than the default apache user need certain permissions? (since MessageQueue sends outside of php execution)

    663 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.