Outlook 2002 downloading multiple copies of certain emails

Posted on 2004-10-14
Last Modified: 2010-04-08
I am using Outlook 2002, part of Office XP Pro, set to leave mesages on the server.

There are certain emails (generated by CGI script from a website I am managing) which Outlook continues to download multiple copies of every time I go to send/receive.  This does not happen to all emails.  If I send an email to myself at this account, Outlook will only download once, but the generated messages continue to download again and again.  I suspect there is some subtle problem with the Internet message header on the generated message, but I don't know what that problem would be.  Here is the header from the "bad" email:

Return-Path: <>
Received: from ([]) by for <>; Wed, 13 Oct 2004 23:36:45 -0700
Message-Id: <>
Date: Wed, 13 Oct 2004 23:36:45 -0700
From: Merenderos Foundation
Subject: New Referral Request added to referrallog.txt
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"

and here is one from a typical "good" email, that downloads only once:

Return-Path: <>
Received: from ([]) by for <>; Thu, 14 Oct 2004 01:04:35 -0700
Received: from (localhost.localdomain [])
      by (Postfix) with ESMTP id CFDD924808F
      for <>; Thu, 14 Oct 2004 00:35:58 -0700 (PDT)
Message-ID: <>
Date: Thu, 14 Oct 2004 00:35:58 -0700 (PDT)
From: Experts Exchange <>
To: akemann <>
Subject: Experts Exchange - Please Verify Your Email Address
Mime-Version: 1.0
Content-Type: text/html; charset=iso-8859-1
Content-Transfer-Encoding: 7bit
X-Mailer: Experts Exchange

Any insights on this matter would be appreciated.

Question by:akemann
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions

Author Comment

ID: 12314330
OK, well there wasn't much response on this ( I don't know if I posted it properly ), but I've been working on the problem and believe I have figured it out (sort of):

The script I was using to generate the email looked like this:

$to = "my_email\";
if (open(MAIL, "|/usr/sbin/sendmail -t $to"))
  print MAIL <<EOF2;
From: Merenderos Foundation \<contributions\\>
To: $to
Subject: New Referral Request added to referrallog.txt
Mime-Version: 1.0
Content-Type: text/html; charset="us-ascii"

where the subrouting "results_screen" generated the HTML content of the body of the message.  I removed the line "To:" from the script, since it seemed redundand given that I was opening sendmail with -4 $to, and the problem went away.  The email header now looks like:

Return-Path: <>
Received: from ([]) by for <>; Thu, 14 Oct 2004 17:46:44 -0700
Received: from ([]) by for <>; Thu, 14 Oct 2004 17:46:42 -0700
Message-Id: <>
Date: Thu, 14 Oct 2004 17:46:42 -0700
From: Merenderos Foundation <>
Subject: Thank you for your contribution!
Mime-Version: 1.0
Content-Type: text/html; charset="us-ascii"

notice that the "To:" field is gone, but the email still arrives properly.

I wouldn't call it exactly "understanding" the problem, but at least it's solved for now.  Hope this is useful to someone.  

Also, if anyone understands more thoroughly what was really going on, I would still appreciate a real explanation.


Accepted Solution

modulo earned 0 total points
ID: 12898048
PAQed with points refunded (125)

Community Support Moderator

Featured Post

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Is your Office 365 signature not working the way you want it to? Are signature updates taking up too much of your time? Let's run through the most common problems that an IT administrator can encounter when dealing with Office 365 email signatures.
Finding original email is quite difficult due to their duplicates. From this article, you will come to know why multiple duplicates of same emails appear and how to delete duplicate emails from Outlook securely and instantly while vital emails remai…
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …
Many of my clients call in with monstrous Gmail overloading issues with Outlook. A quick tip is to turn off the All Mail and Important folders from synching. Here is a quick video I made to show you how to turn off these and other folders in Gmail s…

707 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question