Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
510 views
in Technique[技术] by (71.8m points)

Warrning in PHP email "It contains content that's typically used to steal personal information"

After I use the email script, in email the following warning appears:

Be careful with this message. It contains content that's typically used to steal personal information. Learn more Report this suspicious message Ignore, I trust this message

$email_subject =  $cnm ." |$cnm.com";
        $email_message ="<HTML><BODY><TABLE>";
        $email_message .= "<TR><TD> Job Descrption :".$jb_des ."</TD></TR>";
        $email_message .="<TR><TD>Employer Name :".$frm_nm." </TD></TR>" ;
        $email_message .="<TR><TD>Company Name :".$cnm." </TD></TR>";
        $email_message .="<TR><TD>Message :".$msg." </TD></TR>";
        $email_message .="<TR><TD>Title of Job Opening :".$job_ti." </TD></TR>" ;
        $email_message .="</TABLE></BODY></HTML>";
        $headers = "From:<$frm_nm@abc.com>". "
";
        $headers  .= "MIME-Version: 1.0 ". "
";
        $headers .= 'Content-type: text/html; charset=iso-8859-1' . "
";
        @mail($to_em,$email_subject, $email_message, $headers); 
See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

This warning is appearing because the email host of the address you're sending the email to cannot verify that you're the real sender of the email. Their email server knows that the information you're sending is questionable.

Unless the email is really coming from the domain: "abc.com" for example it's likely that this warning will appear for whoever is viewing the email.

This could also be caused by information or links in the email which the receiver's email server doesn't like.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...