Results 1 to 5 of 5

Thread: Admin email on submission

  1. #1
    Join Date
    Mar 2008
    Posts
    127

    Default Admin email on submission

    I may be blind but I can't seem to figure out how to turn off the admin notification email. At least while I am getting hundreds of email/day I would like to be able to turn it off.

  2. #2
    Join Date
    Jun 2002
    Location
    Winnipeg Canada
    Posts
    4,913

    Default

    Officially there isn't a way to disable the email on submission.

    If you're getting hundreds per day you either have an amazing directory, or you're being flooded with spam/crap by bots. And by the way, this won't slow down, it will only get worse.

    I would suggest that you enable registration before submission. This will cut down the submissions probably by 95% or more. Or you can upgrade to 1.3.3 (or wait a week or so for 1.4) and then leave registration off but enable recaptcha which will kill the bots as well.

  3. #3
    Join Date
    Mar 2008
    Posts
    127

    Default

    Quote Originally Posted by Bruceper View Post
    Officially there isn't a way to disable the email on submission.

    If you're getting hundreds per day you either have an amazing directory, or you're being flooded with spam/crap by bots. And by the way, this won't slow down, it will only get worse.

    I would suggest that you enable registration before submission. This will cut down the submissions probably by 95% or more. Or you can upgrade to 1.3.3 (or wait a week or so for 1.4) and then leave registration off but enable recaptcha which will kill the bots as well.
    Thanks. A lot of spam/junk. Some days are bad like today. Between 2 sites I received around 150 submissions of which about 30 were approved. Will likely implement a filter in mailwasher and/or start banning ip's. I have seen days much higher right after some promotion.

  4. #4
    Join Date
    Mar 2008
    Posts
    127

    Default

    In add.php
    Code:
            // send email to all editors, subscribers and admin
            $plug->PluginPlace("hook_php_add_ProcessFormAddUrl_before_send_email_all_editor");
            
            $emails   = $links_obj->GetEditorEmail($cat);
            $emails[] = $email_address;
            $subscriber_emails =  $category_obj->GetSubscriberEmail($cat);
    
            while (list(, $v) = @each($emails)) {
              $body = ReadEmailTemplate("add_ok_editor", $links_obj->email_template_fields. ",\$site_url,\$site_name,\$contact_name,\$email");
              $from = $email_address;
              SendEmail($v, $body['subject'], $body, $from); 
            }
            $plug->PluginPlace("hook_php_add_ProcessFormAddUrl_before_send_email_all_subscriber");
    would commenting out SendEmail($v, $body['subject'], $body, $from); cause any unpleasant side effects? I (admin) is the only one can edit submissions so...

  5. #5
    Join Date
    Jun 2002
    Location
    Winnipeg Canada
    Posts
    4,913

    Default

    Would it be bad? No, but the next time you upgrade that would be overwritten.

    Don't forget that IndexU has a spam filter as well. Add some common spam words and it will stop a ton of the crap you're seeing.

Similar Threads

  1. Blind Copy Admin on "send email"
    By SSB in forum v5.x
    Replies: 8
    Last Post: 10-05-2007, 11:09 AM
  2. Replies: 1
    Last Post: 08-05-2006, 09:19 PM
  3. Email not sending to admin (me!)
    By actorpoint in forum v5.x
    Replies: 0
    Last Post: 09-30-2004, 11:27 AM
  4. Where is admin email saved ?
    By Frank71 in forum v5.x
    Replies: 9
    Last Post: 03-03-2004, 05:41 PM
  5. Replies: 0
    Last Post: 09-20-2002, 10:13 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •