[SOLVED] Use Events to Send an Email when a news is added

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
Torpedine
Forum Members
Forum Members
Posts: 142
Joined: Thu May 18, 2006 3:53 pm

[SOLVED] Use Events to Send an Email when a news is added

Post by Torpedine »

Hello, everybody, I would like to learn something on the events, beacause I need to notify with a mail the admin of a website whenever a news item i added by regular users.

I've seen the the page edited example in
http://forum.cmsmadesimple.org/viewtopi ... =8&t=13267

I'm not a developer, so can someone help me to adapt this tho use the NewsArticleAdded event?

Thanks in advance
Last edited by Torpedine on Mon Aug 27, 2012 1:14 pm, edited 1 time in total.
Jos
Support Guru
Support Guru
Posts: 4020
Joined: Wed Sep 05, 2007 8:03 pm

Re: Use Events to Send an Email when a news item is added

Post by Jos »

Maybe this recent post helps you more: http://forum.cmsmadesimple.org/viewtopi ... 28&t=61116
staartmees
Power Poster
Power Poster
Posts: 1049
Joined: Wed Mar 19, 2008 4:54 pm

Re: Use Events to Send an Email when a news item is added

Post by staartmees »

I thought the recently released module Notifications does that job.
http://dev.cmsmadesimple.org/projects/notifications
Torpedine
Forum Members
Forum Members
Posts: 142
Joined: Thu May 18, 2006 3:53 pm

Re: [SOLVED] Use Events to Send an Email when a news is adde

Post by Torpedine »

Thank you so much! this saves the day!
Post Reply

Return to “CMSMS Core”