I would like to write a custom filter for my email system
User [EMAIL PROTECTED] send a message
If the "to" field is like [EMAIL PROTECTED] the filter will check if the user have enough credits on mysql DB .
If yes the message will be sent
If not the message will be not sent
If a message arrives and "from " field is [EMAIL PROTECTED] (different domain) according to the content of the message a credit will be added to the corresponding user (username on body field )
Any ideea ?
Best regards
Marius Baranescu

Reply via email to