Elxis CMS Forum

Support => Security => Topic started by: rentasite on April 13, 2010, 08:28:41

Title: Elxis Defender - Notification e-mails
Post by: rentasite on April 13, 2010, 08:28:41

Hi,

Is there a way, so more that one emails can get the notifications from Elxis Defender?
Title: Re: Elxis Defender - Notification e-mails
Post by: CREATIVE Options on April 13, 2010, 12:12:20
Have you try to insert the email adresses with "," (comma) between.

Example:
Code: [Select]
mail@mail.com,mail2@mail.com,mail3@gmail.com
Title: Re: Elxis Defender - Notification e-mails
Post by: rentasite on April 14, 2010, 04:17:41

Done Niko. I will know if it works, on the next attack :)

Have you added 2 emails in that way, and it works?

Thanks
Title: Re: Elxis Defender - Notification e-mails
Post by: CREATIVE Options on April 14, 2010, 10:40:22
No, I haven't try it.
It is just a thought  ;)
Title: Re: Elxis Defender - Notification e-mails
Post by: rentasite on April 14, 2010, 10:43:12

Ok. I should wait for an attack  ;D and i'll reply back :P
Title: Re: Elxis Defender - Notification e-mails
Post by: webgift on April 14, 2010, 11:00:56
My opinion for that :

I already checked the code on the folder administrator/tools/defender and at the points of the important files like defender.class.php , defender.functions.php etc i didn't find the function explode  (http://php.net/manual/en/function.explode.php) which it give us the ability to seperate Strings ( on our examples : mail adresses ) with separator like "," (comma).

So I believe that it doesn't work.!

Let's see another ... options ...  ;) :D
Title: Re: Elxis Defender - Notification e-mails
Post by: datahell on April 15, 2010, 07:55:36
It will not work.
Here is the solution:
open administrator/tools/defender/defender.class.php
Go somewhere near the end of function sendAlert (line 231).
Find:
@mail($this->mailaddress, $subject, $message, $headers);
Add bellow:
@mail('anymail@anydomain.com', $subject, $message, $headers);

You can add as many more recipients you wish.
Title: Re: Elxis Defender - Notification e-mails
Post by: webgift on April 15, 2010, 11:49:10
I will know , won't i ? Where it will go  ;D ;D ;D
( θα μάθω , δεν θα μάθω ... που θα πάει ;) !!!  :D :D :D
Title: Re: Elxis Defender - Notification e-mails
Post by: CREATIVE Options on April 15, 2010, 16:39:56
 :-X
Title: Re: Elxis Defender - Notification e-mails
Post by: webgift on April 15, 2010, 16:49:51
My 1000's post .... goes to ... LOLLLL!!!  ;D ;D ;D
Title: Re: Elxis Defender - Notification e-mails
Post by: rentasite on April 15, 2010, 18:57:17

done! thanks John.