Linux / PHP / Java / Designer

As melhores dicas estão aqui.

5 de maio de 2009
por admin
1 Comentário

Exemplo de utilização de envio de emails pelo PHP usando autenticação SMTP – PHPMailer

Script em PHP simples para utilizar o phpmailer < ? require_once('../class.phpmailer.php'); //include("class.smtp.php"); // optional, gets called from within class.phpmailer.php if not already loaded $mail = new PHPMailer(); $body = file_get_contents('contents.html'); $body = eregi_replace("[\]",'',$body); $mail->IsSMTP(); // telling the class to use … Continue lendo