I wanted to have a basic, classic PHP mailer in this list as an option, and this is a popular one on GitHub. Similar to using something like Formspree, PHPMailer is going to be both more flexible and also more complicated to set up. I don’t really know PHP myself but I’ve been able to set these up before. Give it a shot if you need a form on a non-Wordpress site.