Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
505 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:<[email protected]>". "
";
        $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 Answer

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.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...