Trigger..?

Hi,
How can i modify/create a trigger as per my needs. I have one situation in which i want to send a mil to a user/group as a new customer is added.

Thanks in Advance.

You can find documentation here:
http://wiki.dolibarr.org/index.php/Triggers