DEDIBOX-NEWS.COM

Le Forum Non Officiel de la DEDIBOX

Vous n'êtes pas identifié.

#1 2008-06-03 17:02:07

ghost5922
Je débarque
Date d'inscription: 2008-06-03
Messages: 3

help -> mail vers hotmail

Bonjour ,

vous allez me dire qu'il a déja beaucoup de poste a ce sujet mais voila impossible d'envoyer des mail vers hotmail avec la function mail de php

Mon fichier mail.log

Code:

Jun  3 16:53:45 sd-xxxxx postfix/pickup[19490]: E63018422A: uid=33 from=<www-data>
Jun  3 16:53:45 sd-xxxxx postfix/cleanup[19518]: E63018422A: message-id=<20080603145345.E63018422A@domain.com>
Jun  3 16:53:45 sd-xxxxx postfix/qmgr[18212]: E63018422A: from=<www-data@domain.com>, size=538, nrcpt=1 (queue active)
Jun  3 16:53:46 sd-xxxxx postfix/pickup[19490]: D617F84298: uid=33 from=<www-data>
Jun  3 16:53:46 sd-xxxxx postfix/cleanup[19518]: D617F84298: message-id=<20080603145346.D617F84298@domain.com>
Jun  3 16:53:46 sd-xxxxx postfix/qmgr[18212]: D617F84298: from=<www-data@domain.com>, size=538, nrcpt=1 (queue active)
Jun  3 16:53:48 sd-xxxxx postfix/smtp[19524]: D617F84298: to=<xxxx@hotmail.com>, relay=mx1.hotmail.com[65.54.244.8]:25, delay=1.5, delays=0.01/0.01/0.4$
Jun  3 16:53:48 sd-14422 postfix/qmgr[18212]: D617F84298: removed
Jun  3 16:53:49 sd-14422 postfix/smtp[19521]: E63018422A: to=<xxx@hotmail.com>, relay=mx1.hotmail.com[65.54.244.8]:25, delay=3.3, delays=0.06/0.01/0.6$
Jun  3 16:53:49 sd-14422 postfix/qmgr[18212]: E63018422A: removed

mes dns

Code:

$ttl 3600
domain.com.    IN    SOA    sd-xxxxx.dedibox.fr. xxxxx.hotmail.com. (
            2008060301
            10800
            3600
            604800
            3600 )

domain.com.    IN    NS    xxxxx.dedibox.fr.
domain.com.    IN    NS    nssec.dedibox.fr.
www.domain.com.    IN    A    88.191.xx.xx
ftp.domain.com.    IN    A    88.191.xx.xx
mail.domain.com.    IN    A    88.191.xx.xx
pop.domain.com.    IN    A    88.191.xx.xx
pop3.domain.com.    IN    A    88.191.xx.xx
smtp.domain.com.    IN    A    88.191.xx.xx
domain.com.    IN    A    88.191.xx.xx
domain.com.    600    IN    MX    10 mail.domain.com.
domain.com.    IN    TXT    "v=spf1 mx ~all"
imap.domain.com.    IN    A    88.191.xx.xx

script php

Code:

$destinataire='xxxxxx@hotmail.com';
$sujet="[domain.com] Sujet du message"; 
$contenu="Contenu html"; 
$email="activation@domain.com ";

$head = "From: activation@domain.com <admin@domain.com>\n"; 
$head .= "MIME-Version: 1.0\n"; 
$head .= "Return-Path: <$email>\n"; 
$head .= "Content-Type: text/html; charset=iso-8859-1\n"; 
$head .= "Sender: <www.domain.com>\n"; 
$head .= "Mailer: PHP\n"; 
$head .= "auth-smtp-user: admin@domain.com\n"; 
$head .= "abuse-contact: abuse@domain.com"; 
             
mail($destinataire, $sujet ,$contenu, $head);

niveau dns j'ai lancer un test sur : http://www.dnscolos.com et tout est parfait
j'ai creer les aliases de tout ces email

si vous avez besoin d'autre info je suis les posterais

Merci d'avance smile

Dernière modification par ghost5922 (2008-06-03 17:04:43)

Hors ligne

 

Pied de page des forums

Powered by PunBB
© Copyright 2002–2005 Rickard Andersson