Send Mail in PHP In this example, we will show how to send an email message to someone in PHP. PHP Code: "; mail ("karn@nucleus.com", "Subject", "Hello!"); echo "Sending mail..."; echo "