Send Mail in PHP In this example, we will show how to send an email message to someone in PHP. PHP Code: