RSS

Tag Archive | "phpmailer"

Sending Email through PHP scripts

Wednesday, July 9, 2008

3 Comments

Most Linux hosting doesn’t allow direct mail sending through PHP mail() function due to spam security issue. In order to send email through PHP mail() function, you need to be authenticate first by the SMTP server. Simplest way to do is to use the PHPMailer. Below is the sampleĀ  php code using PHPMailer. <?php include(”class.phpmailer.php”); $mail [...]

Continue reading...