Ver originalif(mail('[email protected]', 'Test email', 'Test email with standard mail() function')) { echo 'Mail sent'; } else echo 'Mail sending failed';