Visualizzazione dei risultati da 1 a 6 su 6

Discussione: Return path errato

  1. #1

    Return path errato

    Quando invio una mail da cliente controllando con outlook le proprietà noto che è presente la voce miamail@mioserver.net, se la mail la invio da pagine web con codice php in return path è presente l'indirizzo del server dell'host che gestisce l'invio delle mail.
    Qualcuno sa spiegarmi cosa sbaglio nel codice?

    $destinatario = "destinatario1@host.it";

    $intestazione = "From: <miamail@miohost>";
    $messaggio = " 123456789a
    123456789b
    2234567ads
    123456789i
    123456789l
    123456789m
    ";
    $oggetto = "prova";
    if(mail($destinatario,$oggetto,$messaggio,$intesta zione)) $risposta = "Il messaggio è stato spedito correttamente";
    else $risposta = "Non è stato possibile inviare la mail, riprova più tardi";

    Ah...dimenticavo l'host che ospita il sito è gratuito? Non so se può centrare comunque è hostcubed

  2. #2
    metti $intestazione = "From: nome_tuo_sito<miamail@miohost>\nReply-To: miamail@mioserver.net";
    I'm your dreams, make you real... I'm your eyes when you must steel...I'm pain when you can't feel...sad but true !

  3. #3
    Niente da fare il problema rimane, se potete aiutarmi ho inviato l'intestazione internet dell'email:

    Invio da codice php riveduto come suggerimento di Hornwind:

    Return-Path: <nobody@millie.hostcubed.net>
    Received: from smtp5.libero.it (193.70.192.55) by ims3c.libero.it (7.0.028)
    id 40E4038801874F7E for acarli82@libero.it; Thu, 16 Sep 2004 19:17:49 +0200
    Received: from millie.hostcubed.net (209.152.181.10) by smtp5.libero.it (7.0.027-DD01)
    id 40F6596108347CF9 for acarli82@libero.it; Thu, 16 Sep 2004 19:17:50 +0200
    Received: from nobody by millie.hostcubed.net with local (Exim 4.42)
    id 1C7zt5-0004nh-Hr
    for acarli82@libero.it; Thu, 16 Sep 2004 13:17:39 -0400
    To: acarli82@libero.it
    Subject: prova
    From: LaTrave<latrave@latrave.h3nt.net>
    Reply-To: latrave@latrave.h3nt.net
    Message-Id: <E1C7zt5-0004nh-Hr@millie.hostcubed.net>
    Date: Thu, 16 Sep 2004 13:17:39 -0400
    X-AntiAbuse: This header was added to track abuse, please include it with any abuse report
    X-AntiAbuse: Primary Hostname - millie.hostcubed.net
    X-AntiAbuse: Original Domain - libero.it
    X-AntiAbuse: Originator/Caller UID/GID - [99 99] / [47 12]
    X-AntiAbuse: Sender Address Domain - millie.hostcubed.net
    X-Source:
    X-Source-Args:
    X-Source-Dir:



    Invio tramite client di posta elettronica:

    Return-Path: <latrave@latrave.h3nt.net>
    Received: from smtp4.libero.it (193.70.192.54) by ims3c.libero.it (7.0.028)
    id 40E4038801873390 for acarli82@libero.it; Thu, 16 Sep 2004 19:02:33 +0200
    Received: from millie.hostcubed.net (209.152.181.10) by smtp4.libero.it (7.0.027-DD01)
    id 40E4212C0A277378 for acarli82@libero.it; Thu, 16 Sep 2004 19:02:33 +0200
    Received: from cpanel by millie.hostcubed.net with local (Exim 4.42)
    id 1C7zeJ-0004ON-NL
    for acarli82@libero.it; Thu, 16 Sep 2004 13:02:23 -0400
    Received: from 151.30.36.235 ([151.30.36.235])
    by www.latrave.h3nt.net (IMP) with HTTP
    for <latrave@localhost>; Thu, 16 Sep 2004 13:02:23 -0400
    Message-ID: <1095354143.4149c71fa87a9@www.latrave.h3nt.net>
    Date: Thu, 16 Sep 2004 13:02:23 -0400
    From: latrave@latrave.h3nt.net
    To: acarli82@libero.it
    MIME-Version: 1.0
    Content-Type: text/plain
    Content-Transfer-Encoding: 7bit
    User-Agent: Internet Messaging Program (IMP) 3.2.2
    X-Originating-IP: 151.30.36.235
    X-AntiAbuse: This header was added to track abuse, please include it with any abuse report
    X-AntiAbuse: Primary Hostname - millie.hostcubed.net
    X-AntiAbuse: Original Domain - libero.it
    X-AntiAbuse: Originator/Caller UID/GID - [32001 32001] / [47 12]
    X-AntiAbuse: Sender Address Domain - latrave.h3nt.net
    X-Source:
    X-Source-Args:
    X-Source-Dir:


    Devo fare in modo che i due rapporti sia uguali, o meglio modificando i parametri nel codice php il primo rapporto deve essere uguale al secondo.
    Grazie

  4. #4
    Il problema secondo me è già alla prima riga...mi sapreste indicare dove trovare indicazioni sull'intestazione internet dell'email e invio di email via php?

  5. #5
    I'm your dreams, make you real... I'm your eyes when you must steel...I'm pain when you can't feel...sad but true !

  6. #6
    In quelle pagine non c'è niente di abbastanza approfondito che mi possa aiutare...

    Help me!!

Permessi di invio

  • Non puoi inserire discussioni
  • Non puoi inserire repliche
  • Non puoi inserire allegati
  • Non puoi modificare i tuoi messaggi
  •  
Powered by vBulletin® Version 4.2.1
Copyright © 2024 vBulletin Solutions, Inc. All rights reserved.