Sending a notification mail

I have created a custom control which is used to view\edit documents’ data.When user clicked ‘save’ button there, email notification should go to the user which is specified by one of data fields.I have used a dojoModule to get user input data.Does anyone know how to implement this?

Thanks in advance