I followed many of this long thread tips and now I have at least 5 different points where the email is launched...
To optimize code, I created a function mail2wm() within adminfunctions.php so I simply call it from everywhere passing some parameters...
So, I can receive many emails each time. A general question is: could I set, within that function, a global variable to tell the function itself it has already done its job ?
Sorry, but I'm not too good at php about globals and sessions... Actual question is: such a global variable will be unique for the entire board - each user - or only for that user set it up ?
First case, could I 'localize' any way that variable for that particular session ?
Thanks a lot, and sorry for the O-T.
Bye