haver si me echais una mano, ejecuto el codigo en servidor y el email existe y todo ta correcto pero llega a no deseado
aqui hos dejo el header que recibo
Código PHP:
Return-Path: <info@imeis-server.com>
Received: from smtp-01.servidoresdns.net (llsa614-a01.servidoresdns.net [82.223.190.151])
by llcc992-a.servidoresdns.net (Cyrus v2.2.12-Invoca-RPM-2.2.12-8.1.RHEL4) with LMTPA;
Sun, 25 May 2008 02:34:59 +0200
X-Sieve: CMU Sieve 2.2
Received: from s46.avahost.net (s46.avahost.net [209.62.120.146])
by smtp-01.servidoresdns.net (Postfix) with ESMTP id 5F46A12411F
for <xxx@xxx.com>; Sun, 25 May 2008 02:34:54 +0200 (CEST)
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=imeis-server.com;
h=Received:Date:To:From:Reply-To:Subject:Message-ID:X-Priority:X-Mailer:MIME-Version:Content-Type:X-AntiAbuse:X-AntiAbuse:X-AntiAbuse:X-AntiAbuse:X-AntiAbuse;
b=FMUcmTmXawa68fJTCNOtHv50sYl3urSLvSbIGdhjMavlGo3pVboOdNopOMcxWasGBU1+g4h9o0AjXNNPD3/DoVNlRPzh6iwTd5g3bDccybGJbZN2wxP/ToZJkQRrwTp2;
Received: from s46.avahost.net ([209.62.120.146] helo=imeis-server.com)
by s46.avahost.net with esmtpsa (TLSv1:AES256-SHA:256)
(Exim 4.68)
(envelope-from <info@imeis-server.com>)
id 1K04CC-0005W9-MZ
for xxx.xxx.com; Sat, 24 May 2008 19:34:44 -0500
Date: Sat, 24 May 2008 19:34:44 -0500
To: Nombre <xxx@xxx.com>
From: "IMEIS-SERVER.COM" <info@imeis-server.com>
Reply-To: "IMEIS-SERVER.COM" <info@imeis-server.com>
Subject: zzzzz
Message-ID: <92d3c62901fffc51b2fef9f5e2891996@imeis-server.com>
X-Priority: 3
X-Mailer: PHPMailer (phpmailer.sourceforge.net) [version 2.0.0 rc3]
MIME-Version: 1.0
Content-Type: multipart/alternative;
boundary="b1_92d3c62901fffc51b2fef9f5e2891996"
X-AntiAbuse: This header was added to track abuse, please include it with any abuse report
X-AntiAbuse: Primary Hostname - s46.avahost.net
X-AntiAbuse: Original Domain - xxx.com
X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12]
X-AntiAbuse: Sender Address Domain - imeis-server.com
Código PHP:
<?php
include("../class.phpmailer.php");
include("../class.smtp.php");
$mail=new PHPMailer();
$body="
<b>ACTIVACIÓN DE CUENTA || ACTIVE ACCOUNT</b><br>
Porfavor haga click en el siguiente vinculo<br>
Please click on the link to activate account<br>
"; //mensaje a mandar
$mail->IsSMTP();
$mail->SMTPAuth = true; // enable SMTP authentication
$mail->SMTPSecure = ""; // sets the prefix to the servier
$mail->Host = "mail.imeis-server.com";
$mail->Port = 26;
$mail->Username = "[email protected]";
$mail->Password = "xxxxxx";
$mail->From = "[email protected]";
$mail->FromName = "IMEIS-SERVER.COM";
$mail->Subject = "zzzzz";
$mail->MsgHTML($body);//HTML Body
$mail->AltBody = "This is the body when user views in plain text format"; //Text Body
$mail->WordWrap = 50; // set word wrap
$mail->AddAddress("[email protected]","Nombre");
$mail->AddReplyTo("[email protected]","IMEIS-SERVER.COM");
//$mail->AddAttachment("/path/to/file.zip"); // attachment
//$mail->AddAttachment("/path/to/image.jpg", "new.jpg"); // attachment
$mail->IsHTML(true); //
if(!$mail->Send()) {
echo "Mailer Error: " . $mail->ErrorInfo;
} else {
echo "Message has been sent";
}
?>