Sending mails is an important feature in a web application. You can use it when you want to confirm something, you want to send information to the user, or the user wants to send your company an e-mail with an inquiry. In this recipe we will make a section on the home page where users can request information via e-mail.
Your database should be able to send outbound e-mails. Therefore, check that your database is configured for sending e-mails.