Hello,

Simplenews is great module and it's even greater when it is possible to add custom functionality (for example by using rules).

Unfortunately I was not able to find the rule event "Simplenews e-mail was sent", therefore I'm sending this feature request.

My use case, where this event might be helpful, is following:
- I want to send simplenews e-mail to site users.
- And after sending each individual e-mail it would be nice to have some way to easily "plug-in" my own functionality (for example with reaction to rule event).
- (Maybe it might be helpful to provide also some hook_simplenews_mail_alter() that will allow users to alter individual e-mail data right before sending)

Thank you for considering.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

joseph11’s picture

Version: 7.x-2.x-dev » 7.x-1.x-dev

Changing version

HansKuiters’s picture

I would also like this feature. In my case I use a views panel to list some content in the simplenews template. I only want content in that list that has not been sent before. I've created a flag to mark that content and I need to set that flag after the last mail has been sent.

steveoriol’s picture

Issue summary: View changes

me, I would like publish the simplenews node only when the first send start to beginning...

Ives’s picture

I needed a newsletter-sent-event to populate a sent-date field.
The patch adds a rules-event that is triggered when the send status changes, with arguments for node and status.