Sending emails using PHP is an easy task...Just a few steps and you are through!!Step I: Download PHPMailerThe very first thing that needs to be done is, downloading the PHPMailer package. This package contains all the methods for sending simple mails, to sending mails with attachments!!You can download the package from: PHPMailerStep II: Starting to CodeCreate a new php file test.php and copy the following code:(Note: test.php file should be in the same folder as the extracted PHPMailer package) <?php require("class.phpmailer.php"); //You need to include the PHPMailer class $mailer = new PHPMailer(); //Create an...
Saturday, 31 March 2012
Tagged under: email using PHP, email using SMTP, mail(), PHPMailer
Sending email using PHP...(PHPMailer)
Subscribe to:
Posts (Atom)