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&lt reply-to: zamisoftt&lt, hr@vestroxinc.com&gt

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

Popular posts from this blog

Delphi change the assembly code of a running process -

json - Hibernate and Jackson (java.lang.IllegalStateException: Cannot call sendError() after the response has been committed) -

C++ 11 "class" keyword -