In this tutorial we will see how to send email using php from godaddy servers

  • download PHPMailer from here
  • php script as below

  • go to you cpanel and upload the file and try to execute the script from browser and see you inbox for email
  • before executing change the recipients email to valid email address and valid from email.

Happy programming


Posted in PHP

Leave a Reply

Your email address will not be published. Required fields are marked *