PHPmailer sends to junk email
问题 I've just updated a contact form to use PHPMailer to stop emails being marked as junk, with no luck. It's a fairly straight forward setup I'm using but its still going into peoples junk mail. Here is my script, I was wondering if anyone could tell what was wrong? include_once('../inc/phpmailer/class.phpmailer.php'); $mail = new PHPMailer(); $name = $_POST['name']; $email = $_POST['email']; $body = "Name: ".$name."\r\n"; $body .= "Email: ".$email."\r\n"; $body .= "Message: ".$_POST['message'];