Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4268164
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T06:59:53+00:00 2026-05-21T06:59:53+00:00

Nightmare Episode 1 I put 21 hours today to solve this. But i failed,

  • 0

Nightmare Episode 1

I put 21 hours today to solve this. But i failed, asking experts to have a look, checked almost PEAR all possibilities but this Microsoft Outlook never gives up. What is this secret ?

Microsoft Outlook 2010 as receives as junk email when i put junk filter to “High”. If i send another email with my same account from Google it goes to Inbox.
What is the problem with this Outlook ? I tried to follow multipart/alternative or multipart/mixed or multipart/relative but all Same.

My server log shows: 100% ok no spam not blacklist, all clear
Dec 8 15:42:30 www postfix/smtp[15250]: C99908162: to=, relay=mail.andmylab.com[01.01.01.01]:25, delay=0.25, delays=0.07/0.01/0.08/0.09, dsn=2.0.0, status=sent (250 OK id=1PQQqL-0001b6-TA)

My blacklist: http://www.whatismyipaddress.com shows no black list all green
– I can send to Google or to my own domain and other domain without any problems.

My code: its generating exactly multipart/alternative where i am following RFC standards

  /* DB details */
  $config = new Zend_Config_Ini(APPLICATION_PATH . '/configs/cloude.ini', 'production');
  define("DBHOST",     $config->resources->db->params->host);
  define("DBUSER",     $config->resources->db->params->username);
  define("DBPASS",     $config->resources->db->params->password);
  define("DEFAULT_DB", $config->resources->db->params->dbname);
  define("MAILER_TABLE", "mail_queue");


  /* 1 --------------------- PEAR!! */
  require_once "Mail/Queue.php";
  require_once 'Mail/mime.php';
  require_once 'Mail/mimePart.php';

  /* 2 --------------------- DB */
  $db_options['type']       = 'db';
  $db_options['dsn']        = 'mysql://' . DBUSER . ":" . DBPASS . "@" . DBHOST . "/" . DEFAULT_DB;
  $db_options['mail_table'] = MAILER_TABLE;
  $mail_options['driver']   = 'mail';

  /* Step ------------------ 1 */
  $mail_queue =& new Mail_Queue($db_options, $mail_options);
  $from = "validguy@lul.be";

  /* Step ------------------ 2 */
  $mime =& new Mail_mime($crlf = "\n");
  $mail =& Mail::factory($mail_options['driver']); 

  /* Step ------------------ 3 Plain text and Html  */
  $data->mode = 'html';

  if ($data->mode=='html') 
  { 
      /* A <--------------- part */
      $params['content_type'] = 'multipart/alternative';
      $email = new Mail_mimePart('', $params);

      /* B <--------------- part */
      $email = $email->encode();
      $email['headers']['Mime-Version']   = '1.0';
      $email['headers']['Subject']        =  $fix;                
      $email['headers']['From']           =  $from; 

      //Zend_Debug::dump($email);
      // exit;

      /* C <--------------- part */
      $mime->setTXTBody('Test');
      $mime->setHTMLBody($txt2);

      /* D <--------------- part */
      $body = $mime->get();
      $hdrs = $mime->headers($email['headers']);                  


  } else if($data->mode=='both') {

    // later... for multipart/relative

  } else {

    // later... for inline    

  }

  /* Step 4 - done */
  $mailResult = $mail_queue->put($from, $row->email, $hdrs, $body, 0,true,$nres[0]['id']);
  //$mailResult = $mail_queue->put($from, $row->email, $email['headers'], $email['body'], 0,true,$nres[0]['id']);

  if(!PEAR::isError($mailResult)){ $m++; } else {   $n++; }

}

}

/* Relax........ */
echo "Records transfered: " . $m . "<br/>";
echo "Records failed to transfer: " . $n . "<br/>";

Nightmare Episode 1 (FOLLOW UP)

SPF fix (zone file setting, required)
– Go to all SPF testing sites, and check what there wizard saying

Fix PTR (zone file setting, required)

Dkim proxy (zone file setting, required)

Prepare two version Plain text and Html

Check message headers from working emails that arrives without any problem to your inbox like (Google/Yahoo and others top companies), and compare that towards yours

Do not trust Microsoft Outlook 2010 or Old version, because in junk filter (high) its also written similar, it may not be a spam that must be a business issue, to make us stupid. And put us in nightmare to solve those issues.

  • If you don’t agree in those TOP reasons, please advise and bit it, this is what i learned and trying to share, because its very annoying as a developer, if you don’t have any answer for this RUBISH EROR, caused by Microsoft Outlook 2010.
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-21T06:59:53+00:00Added an answer on May 21, 2026 at 6:59 am

    First of all its Microsoft itself. To really overcome with this issue you can take action such as:

    1. MailChimp: very nice, after pulling all my hair out why it does not work, i found that they got some nice templates with special secret inside, but any way, i just customized it, and it works, i can hit straight crap Outlook express “Inbox” even its high spam filtered.
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm having a nightmare trying to do this. I must have tried about 15
OK, getting this to work properly was a nightmare, so I decided to put
I have this nightmare of code, <div style=height:46px;> <div style=text-align:left;float:left;> <img alt=Document Logo src=Images/img1.gif></img>
This error is a nightmare, I have not been able to figure out why
I am having a nightmare trying to get this working (and have looked at
This probably sounds like a nightmare, but I'd really like to get this working.
I have had a real nightmare with Server.MapPath() . When I call Server.MapPath(~) in
For some time now I've been having this recurrent nightmare (read - bug in
Afternoon all, I really need your help as this is a Nightmare! I was
I have abandoned php because it was a nightmare to maintain. I then reprogrammed

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.