Send mail

there is a simple way to send a mail by code ?