Elxis CMS Forum
Support => Security => Topic started 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?
-
Have you try to insert the email adresses with "," (comma) between.
Example:
mail@mail.com,mail2@mail.com,mail3@gmail.com
-
Done Niko. I will know if it works, on the next attack :)
Have you added 2 emails in that way, and it works?
Thanks
-
No, I haven't try it.
It is just a thought ;)
-
Ok. I should wait for an attack ;D and i'll reply back :P
-
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
-
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.
-
I will know , won't i ? Where it will go ;D ;D ;D
( θα μάθω , δεν θα μάθω ... που θα πάει ;) !!! :D :D :D
-
:-X
-
My 1000's post .... goes to ... LOLLLL!!! ;D ;D ;D
-
done! thanks John.