Jump to content

mail () ; Help with headers (?)


Darkness Soul

Recommended Posts

Yo,

I'm with a problem here.. when I send a mail, some domains receive, others don't.
Exemple, my webmail (at work) receive a mail, but my gmail and yahoo don't (the same, as CC)

Is that a header problem? I think on it, so add lines to prevent it, but, don't work as well..

my header:
[code]$mail_cabecalho  = 'From: Me <[email protected]>'. $eol ;
$mail_cabecalho .= 'CC: Me <[email protected]>'. $eol ;
$mail_cabecalho .= 'CC: Me <[email protected]>'. $eol ;
$mail_cabecalho .= 'Reply-to: Me <[email protected]>'. $eol ;
$mail_cabecalho .= 'Return-Path: Me <[email protected]>'. $eol ;
$mail_cabecalho .= 'Message-ID: <'. date ( 'm/d/Y H:i' , time() ) .' Domain@'. $_SERVER['SERVER_NAME'] .'>'. $eol ;
$mail_cabecalho .= 'X-Mailer: PHP v'. phpversion () . $eol ;
$mail_cabecalho .= 'MIME-Version: 1.0'. $eol ;
$mail_cabecalho .= 'Content-Type: text/html; charset=iso-8859-1'. $eol ;
$mail_cabecalho .= 'Contente-Transfer-Encoding: 8bit'. $eol ;
[/code]

Someone have a clue? Thank you..

D.Soul
Link to comment
https://forums.phpfreaks.com/topic/28782-mail-help-with-headers/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.