Visualizzazione dei risultati da 1 a 6 su 6
  1. #1

    Headers Mail, evitare filtro spam!

    ciao a tutti, ho un'applicazione PHP che manda delle email di notifica, ma mi vengono filtrate dal provider d'arrivo come spam!

    Io invio la mail con questi headers:
    codice:
    # Email via PHP
    function email($to, $subject, $msg)
    {
    	@ini_set('SMTP','mail.hotmail.com');
    	
    	$headers
    	= 'MIME-Version: 1.0' .NL
    	. 'Content-type: text/html; charset=utf-8' .NL
    	. 'From: MJGUEST' .NL
    	. 'To: '.$to .NL
    	. 'Reply-To: ' .NL
    	. 'Return-Pach: ' .NL
    	. 'X-Priority: 1' .NL
    	. 'X-MSMail-Priority: High' .NL
    	. 'X-Mailer: MJGUEST';
    	
    	return @mail($to, $subject, $msg, $headers);
    }
    Ecco il risultato:

    codice:
     pts rule name              description
    ---- ---------------------- --------------------------------------------------
     0.5 X_PRIORITY_HIGH        Sent with 'X-Priority' set to high
     0.9 REPLY_TO_EMPTY         Reply-To: is empty
     0.5 X_MSMAIL_PRIORITY_HIGH Sent with 'X-Msmail-Priority' set to high
     1.9 FROM_NO_LOWER          'From' has no lower-case characters
     0.1 MIME_HTML_ONLY         BODY: Message only has text/html MIME parts
     1.2 MISSING_MIMEOLE        Message has X-MSMail-Priority, but no X-MimeOLE
     1.7 HTML_MIME_NO_HTML_TAG  HTML-only message, but there is no HTML tag
     0.1 MISSING_OUTLOOK_NAME   Message looks like Outlook, but isn't
    
    The original message was not completely plain text, and may be unsafe to
    open with some email clients; in particular, it may contain a virus,
    or confirm that your address can receive spam.  If you wish to view
    it, it may be safer to save it to a file and open it with an editor.
    Devo modificare gli headers come dice il responso, mi date una mano?

    ciao,
    jack.

  2. #2
    ^up^

  3. #3
    nessuno sa aiutarmi?

  4. #4
    non è chiara la domanda o è troppo difficile? :master:

  5. #5

  6. #6
    riuppo... semmai spostatelo in PHP...

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 © 2025 vBulletin Solutions, Inc. All rights reserved.