I crafted a new action in a seperate module.
It sends out the latest (where s_status <> 0, order by n.created desc) sent node of the list to new subscribers.
It could use some extra features like only act on selected lists... but i did not need that.

It is a action, thus.. activate and configure the action first and then assign it to a trigger..

Maybe someone else can benefit from it... or the maintainer wants to include it in the simplenews_action module... feel free to use it. I t comes with no warranty.

CommentFileSizeAuthor
simplenews_sent_latest.tar_.gz1.27 KBFrans
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

danny1997’s picture

I tested this module, it works perfectly.

Quite usefule for me. Thanks for sharing.

Frans’s picture

YW.
If you have questions, please let me know.

Sutharsan’s picture

Version: 6.x-1.0 » 6.x-2.x-dev

@VDMi.Frans, this function looks interesting. I will accept this for 6.x-2.x-dev if you write a patch, add more comments to the code and pls make the code follow the coding standards. Also solve this loose end: '// probably not needed...'

Sutharsan’s picture

Status: Active » Needs work
Frans’s picture

Always those quickies ;) Ugly code and poorly documented...

I'll make a dev 2.0 patch somewhere this weekend.

miro_dietiker’s picture

Version: 6.x-2.x-dev » 8.x-1.x-dev
Issue summary: View changes
Status: Needs work » Active

"Somewhere this weekend" - 5 years ago. ;-)

Might be still of interest in 8.x.