mail send with php but in headers shows a character -
mail send with php but in headers shows a character -
my requirement mail service send using php.but header of mail service shows special character. mail service header section in gmail is
from: zamisoftt< reply-to: zamisoftt<, hr@vestroxinc.com>
my header section in php is
$header_mail="select content mail_header mail_type='payment'"; $header_mail2=mysql_query($header_mail); $fet=mysql_fetch_array($header_mail2); $content=htmlentities($fet['content']); $headers = "from:".$content."\r\n" . "reply-to:".$content."\r\n" . "content-type: text/html; charset=utf-8 \r\n"; $headers.= "mime-version: 1.0\n"; $headers .= 'x-mailer: php/' . phpversion()."\r\n";
with out htmlentities function mail service go sapm.now mail service go inbox these special charecter in header in mail.any body give solution these issue?
you using htmlentities
set $contentent
, you're getting characters there escaped html entities. htmlentities
not useful mail service headers.
maybe going spam whole different reason, bad or missing spf, ill-configured stmp server etc.
php
Comments
Post a Comment