Create result.php

This script will grab the email addresses and send mails to those addresses. You can customize the mail title and message to your preference. Also make sure the sending SMTP is pointing to your domain i.e. Form: invite@yourdomain.com