RSS

Tag Archive | "php mail"

Sending Email through PHP scripts

Wednesday, July 9, 2008

8 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”); [...]

Continue reading...