php mailer for you website grab email from database code example Example: require php mailer composer require phpmailer/phpmailer