Viewing 3 replies - 1 through 3 (of 3 total)
  • Check your headers in email – original message. It is send from your server, not via smtp.

    Thread Starter sureshkumars

    (@sureshkumars)

    Hi peter, Thanks for immedate reply, here am using this type of headers, listed below,
    $header = “From: “.$from_name.” <“.$from_mail.”>\r\n”;
    $header .= “Reply-To: “.$replyto.”\r\n”;
    //$header .= “MIME-Version: 1.0\r\n”;
    $header .= “Content-Type: multipart/mixed; boundary=\””.$uid.”\”\r\n\r\n”;
    //$header .= “This is a multi-part message in MIME format.\r\n”;
    $header .= “–“.$uid.”\r\n”;
    $header .= “Content-type:text/plain; charset=iso-8859-1\r\n”;
    $header .= “Content-Transfer-Encoding: binary”;
    $header .= $message.”\r\n\r\n”;
    $header .= “–“.$uid.”\r\n”;
    $header .= “Content-Type: application/pdf; name=\””.$filename.”\”\r\n”;
    $header .= “Content-Transfer-Encoding: base64\r\n”;
    $header .= “Content-Disposition: attachment; filename=\””.$filename.”\”\r\n\r\n”;
    $header .= $content.”\r\n\r\n”;
    $header .= “–“.$uid.”–“;
    Please verify and if i missed any headers means kindly reply me its more helpful for me

    Hi,

    I mean header of your email which finished in spam.
    I am asking this, bc. if you select “php mail function” and you don’t have set up smtp on your server, what you probably don’t have, then you are not using smtp.

    For testing purpose I tried it also and it just does not work, bc. it use server php mail and headers are something like “localhost” and staff like that, what can only finish in spam.

    In this case, you have to use: Set the return-path to match the From Email and this email has to be verified for your domain (SPF/DKIM).

    Why did you selected “php function” if using smtp plugin? I still don’t understand why this option is there.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Spam Message’ is closed to new replies.