Welcome to Geeklog, Anonymous Wednesday, January 08 2025 @ 03:35 am EST
Geeklog Forums
Send email to Admin upon story submission
Status: offline
Mina
Forum User
Junior
Registered: 10/02/05
Posts: 34
Is there a way to receive an email when the story is submitted?
There's a function called "sendNotification" in submit.php. I think that function does what I am looking for. However, I am not sure how that function gets invoked. I thought there might be an Admin option I can choose to send email to Admin when users submit their stories. However, I can't find it anywhere....
Please help...!!
There's a function called "sendNotification" in submit.php. I think that function does what I am looking for. However, I am not sure how that function gets invoked. I thought there might be an Admin option I can choose to send email to Admin when users submit their stories. However, I can't find it anywhere....
Please help...!!
8
9
Quote
Status: offline
Dirk
Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
config.php:
// of the array can be any combination of 'story', 'comment', 'trackback',
// 'pingback', 'event', and 'user'.
// Example: $_CONF['notification'] = array ('story', 'event');
// The email will be sent to $_CONF['site_mail'] (see above).
$_CONF['notification'] = array ();
bye, Dirk
Text Formatted Code
// Send an email notification when a new submission has been made. The contents// of the array can be any combination of 'story', 'comment', 'trackback',
// 'pingback', 'event', and 'user'.
// Example: $_CONF['notification'] = array ('story', 'event');
// The email will be sent to $_CONF['site_mail'] (see above).
$_CONF['notification'] = array ();
bye, Dirk
4
5
Quote
All times are EST. The time is now 03:35 am.
- Normal Topic
- Sticky Topic
- Locked Topic
- New Post
- Sticky Topic W/ New Post
- Locked Topic W/ New Post
- View Anonymous Posts
- Able to post
- Filtered HTML Allowed
- Censored Content