send mail function used

send mail