ciao a tutti
invio mail con php mailer ( gli indirizzi smtp e indirizzi mail sono di esempio.)
Codice PHP:
$email_to =new PHPMailer();
$email_to->From='registrazione.aruba.eu';
$email_to->FromName = "mailer di test";
$email_to->Subject = "SI FUNZIONA";
$email_to->Body="questo è un test";
$email_to->AltBody="testo alternativo";
$email_to->Sender="mail.hotmail.it";
$email_to->isSMTP();
$email_to->SMTPAuth = true;
$email_to->Host = "smt.mioserver.it";
$email_to->Mailer = "smtp";
$email_to->replyTo = "mail.hotmail.it";
$email_to->AddBCC("indirizzo@yahoo.it");
$email_to->AddAddress('mail@hotmail.it');
$email_to->AddBCC("indirizzochefunziona@aruba.it");
perche su 3 indirizzi diversi ottengo 3 comportamenti diversi?
Su hotmail ricevo la mail ma viene bloccata dicendo :
Rischio elevato Il messaggio è stato bloccato per maggiore sicurezza. Apri il messaggio
Se lo apro : Rischio elevatoQuesto messaggio potrebbe essere pericoloso. Ulteriori informazioni (parla di id microsoft)..
Su yahoo invece non arriva nulla . nemmeno nello spam. Mi torna sul reply con questo errore
Hi. This is the qmail-send program at smtp5.aruba.it.
I'm afraid I wasn't able to deliver your message to the following addresses.
This is a permanent error; I've given up. Sorry it didn't work out.
<indirizzo@yahoo.it>:
98.137.54.237 failed after I sent the message.
Remote host said: 554 delivery error: dd Sorry your message to indirizzo@yahoo.it cannot be delivered. This account has been disabled or discontinued [#102]. - mta112.mail.sp2.yahoo.com
--- Below this line is a copy of the message.
Return-Path: <stiffa78@hotmail.it>
Received: (qmail 21415 invoked by uid 89); 4 May 2010 10:01:09 -0000
Received: from unknown (HELO www.conveyormarket.eu) (62.149.141.130)
by smtp5.ad.aruba.it with SMTP; 4 May 2010 10:01:08 -0000
Date: Tue, 4 May 2010 12:01:09 +0200
Return-Path: stiffa78@hotmail.it
To: mail@hotmail.it
From: mailer di test <registrazione.aruba.eu>
Subject: SI FUNZIONA
Message-ID: <d74e58001f86e6ba2e637639262668b8@www.conveyormarket.eu>
X-Priority: 3
X-Mailer: PHPMailer [version 1.73]
MIME-Version: 1.0
Content-Type: multipart/alternative;
boundary="b1_d74e58001f86e6ba2e637639262668b8"
X-Spam-Rating: smtp5.ad.aruba.it 1.6.2 0/1000/N
--b1_d74e58001f86e6ba2e637639262668b8
Content-Type: text/plain; charset = "iso-8859-1"
Content-Transfer-Encoding: 8bit
testo alternativo
--b1_d74e58001f86e6ba2e637639262668b8
Content-Type: text/html; charset = "iso-8859-1"
Content-Transfer-Encoding: 8bit
questo ่ un test
--b1_d74e58001f86e6ba2e637639262668b8--
su aruba invece arriva tranquillamente
Come posso fare arrivare a tutti la mail ?