Salve,
scrivo qui perchè ho un problema e non so come risolverlo.
Il gestore del server che ospita il mio sito ha disabilitato la funzione mail() per problemi dovuti allo spam [non da parte mia]. Quindi mi ha suggerito di inviare le mail tramite smtp utilizzando la libreria PHPMailer.
Il problema in questione è che se invio mail a destinatari Fastweb ricevo questa mail di errore:
codice:
Could not deliver message to the following recipient(s):
Failed Recipient: xxx@fastwebnet.it
Reason: Remote host said: 554 Message refused
-- The header and top 20 lines of the message follows --
Received: from www.xxx.it (UnknownHost [78.129.182.2]) by mail.latinwebhost.net with SMTP;
Fri, 20 Nov 2009 13:49:15 -0700
Date: Fri, 20 Nov 2009 21:38:20 +0100
Return-Path: gestione@xxx.it
To: xxx@fastwebnet.it
From: Staff
Subject: Oggetto
Message-ID: <5e86a9d01dd4e347115b157424061093@www.xxx.it>
X-Priority: 3
X-Mailer: PHPMailer 5.1 (phpmailer.sourceforge.net)
MIME-Version: 1.0
Content-Type: multipart/alternative;
boundary="b1_5e86a9d01dd4e347115b157424061093"
X-RBL-Warning: MXRATE-BLOCK: "http://www.mxrate.com/lookup/refused.asp?ipaddress=78.129.182.2"
X-RBL-Warning: REVDNS: This E-mail was sent from a MUA/MTA 78.129.182.2 with no reverse DNS entry.
X-Declude-Sender: gestione@xxx.it [78.129.182.2]
X-Declude-Spoolname: 172616931039.eml
X-Declude-RefID:
X-Declude-Note: Scanned by Declude 4.5.30 "http://www.declude.com/x-note.htm"
X-Declude-Scan: Outgoing Score [13] at 13:49:49 on 20 Nov 2009
X-Declude-Tests: MXRATE-BLOCK [6], REVDNS [8]
X-Country-Chain: UNITED KINGDOM->destination
X-Declude-Code: f
X-Declude-Recipcount: 1
X-HELO: www.xxx.it
X-Identity: IP : 78.129.182.2 | rDNS : [No Reverse DNS] | Host : fastwebnet.it
--b1_5e86a9d01dd4e347115b157424061093
Content-Type: text/plain; charset = "iso-8859-1"
Content-Transfer-Encoding: 8bit
ciao bello
--b1_5e86a9d01dd4e347115b157424061093
Content-Type: text/html; charset = "iso-8859-1"
Content-Transfer-Encoding: 8bit
ciao Bello
--b1_5e86a9d01dd4e347115b157424061093--
Qualcuno sa cosa posso fare per risolvere?
Grazie della cortese attenzione.