Ver Mensaje Individual
  #2 (permalink)  
Antiguo 30/11/2005, 17:12
Avatar de Seppo
Seppo
 
Fecha de Ingreso: marzo-2005
Ubicación: Buenos Aires, Argentina
Mensajes: 1.284
Antigüedad: 19 años, 1 mes
Puntos: 17
Sí, se puede. Se hace "normalmente", como dice la página de phpmailer.

Código PHP:
require("inc/mailer/class.phpmailer.php");
$mail = new PHPMailer();
$mail->SetLanguage "es";
$mail->IsSMTP(); // telling the class to use SMTP
$mail->Host "localhost"// SMTP server
$mail->From $from['from'];
$mail->FromName $from['fromname'];
$mail->Subject "Full PC - Solicitud de compra";
$mail->IsHTML(true);
$mail->Body $body;
$mail->AddAddress($from['receptor mails']);
$mail->Send();