Send mail

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

https://flixengineering.com/archives/1510