Welcome, Guest!!
follow us on... rss

Author Topic: Email Notifications  (Read 7132 times)

tj.baker

  • Newbie
  • *
  • Posts: 11
    • View Profile
Email Notifications
« on: March 04, 2009, 12:31:38 PM »
Hello,

First of all I have to thank you for the great service.

I have some pretty basic noob questions so please bare with me. :)

I have set the code to have email notifications, however, I didn't see where to assign an email address to notify.  Does that come from the API?
I have the code implemented in our SMF install and I'm not sure if it's working correctly or if we are just getting hit (daily) by bots that are not in the database yet.  I would like to know if some are getting blocked but I've not received any email notifications if they are.

Thanks again for the fantastic service, and for any input for the noob :)

peace,

tj




MysteryFCM

  • Moderator
  • Full Member
  • *****
  • Posts: 200
    • View Profile
    • I.T. Mate
Re: Email Notifications
« Reply #1 on: March 04, 2009, 12:46:41 PM »
See line 50 of botscout.php;

Code: [Select]
// if sending alerts, send them to what email address?
$toText = "you@yourEmail.com";
Regards
Steven Burn
I.T. Mate / hpHosts
it-mate.co.uk / hosts-file.net

tj.baker

  • Newbie
  • *
  • Posts: 11
    • View Profile
Re: Email Notifications
« Reply #2 on: March 04, 2009, 12:57:10 PM »
Thanks...

I think I need to do a reinstall of everything and check my SMF registration code.. I was in a hurry when I set this all up and don't think I did it correctly (I obviously missed the email line :P)

Thanks for your help... you guys rock!

peace,

tj

MysteryFCM

  • Moderator
  • Full Member
  • *****
  • Posts: 200
    • View Profile
    • I.T. Mate
Re: Email Notifications
« Reply #3 on: March 04, 2009, 12:59:08 PM »
hehe no worries :)
Regards
Steven Burn
I.T. Mate / hpHosts
it-mate.co.uk / hosts-file.net

tj.baker

  • Newbie
  • *
  • Posts: 11
    • View Profile
Re: Email Notifications
« Reply #4 on: March 04, 2009, 01:03:40 PM »
I just downloaded the latest version of BotScout.php which looks to be much more than the BotScout.php file that included when you download the SMF plugin ..... is that by design?  Should the php file in the SMF plugin be the same as the stand alone download?


MysteryFCM

  • Moderator
  • Full Member
  • *****
  • Posts: 200
    • View Profile
    • I.T. Mate
Re: Email Notifications
« Reply #5 on: March 04, 2009, 01:07:40 PM »
I didn't actually write them so am unsure, but would expect they should've been the same (Mike should be along shortly to clarify this)
Regards
Steven Burn
I.T. Mate / hpHosts
it-mate.co.uk / hosts-file.net

tj.baker

  • Newbie
  • *
  • Posts: 11
    • View Profile
Re: Email Notifications
« Reply #6 on: March 04, 2009, 01:14:16 PM »
Kewl....

While you're here... how can I test to make sure the code has been set up properly and without getting myself added to the database?

Tks!

MysteryFCM

  • Moderator
  • Full Member
  • *****
  • Posts: 200
    • View Profile
    • I.T. Mate
Re: Email Notifications
« Reply #7 on: March 04, 2009, 01:21:36 PM »
Change the following value to '1'

Code: [Select]
$diag = '0';
Regards
Steven Burn
I.T. Mate / hpHosts
it-mate.co.uk / hosts-file.net

tj.baker

  • Newbie
  • *
  • Posts: 11
    • View Profile
Re: Email Notifications
« Reply #8 on: March 04, 2009, 01:23:48 PM »
Helloooo,

Ok.. thanks...

one more question just to be a pita ;)

what does that do precisely ?

tks!

MysteryFCM

  • Moderator
  • Full Member
  • *****
  • Posts: 200
    • View Profile
    • I.T. Mate
Re: Email Notifications
« Reply #9 on: March 04, 2009, 01:32:10 PM »
When set to 1, it will show you the data sent and received to/from the BotScout server :)
Regards
Steven Burn
I.T. Mate / hpHosts
it-mate.co.uk / hosts-file.net

tj.baker

  • Newbie
  • *
  • Posts: 11
    • View Profile
Re: Email Notifications
« Reply #10 on: March 04, 2009, 01:37:34 PM »
Awesome... thanks so much for your help.

It appears that the info is being queried, which is a good sign methinks :)

Now to start blocking those annoying bots....

cheers,

tj

MysteryFCM

  • Moderator
  • Full Member
  • *****
  • Posts: 200
    • View Profile
    • I.T. Mate
Re: Email Notifications
« Reply #11 on: March 04, 2009, 01:59:10 PM »
My pleasure :)
Regards
Steven Burn
I.T. Mate / hpHosts
it-mate.co.uk / hosts-file.net