• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Tim Cooke
  • Devaka Cooray
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
Bartenders:
  • Carey Brown
  • Roland Mueller

send email to administrator's inbox

 
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi,
i have installed jforum and now i want to customize it a lil bit. i want that every post that is made on a particular forum should be automatically emailed to my email inbox. currently i can configure jforum to send the notification and the text to the user via an email. alongwith this notification to the user, i want jforum to send an email to my inbox whenever a post is made.
e.g. every post should be emailed to admin@test.com
[originally posted on jforum.net by test895]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Have a look at the spammer classes ... for TopicCreationSpammer and ForumReplySpammer I guess they should be called. In addition to that you might think about adding a new entry to the jforum_custom.conf that specifies the forum_id that you wish to watch (or forum_ids) along with the admin email addresses you wish to send the mails to.

In the systemglobals you could add a new method like getValues(ConfigKeys.YOURNEWKEYHERE) which might return a String array with the given forum_ids or addresses or whatever...

This information then could be used in the spammer to determine if it's the specific forum... and to who it additionally should send the mails out
[originally posted on jforum.net by Sid]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
i believe that 'watching' the forum that you are interested in will already send you emails about every post, will it not?
[originally posted on jforum.net by derekoneil]
 
In the renaissance, how big were the dinosaurs? Did you have tiny ads?
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic