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

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Exchange 2013 - Outlook Anywhere 8 56
Exchange 2010 Email server black listed 14 91
Setup Exchange Server on Huawei Mate9 6 27
Export Outlook 'ghost contacts' 11 37
Follow this checklist to learn more about the 15 things you should never include in an email signature from personal quotes, animated gifs and out-of-date marketing content.
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.
This Experts Exchange video Micro Tutorial shows how to tell Microsoft Office that a word is NOT spelled correctly. Microsoft Office has a built-in, main dictionary that is shared by Office apps, including Excel, Outlook, PowerPoint, and Word. When …
CodeTwo Sync for iCloud ( automatically synchronizes your Outlook 2016, 2013, 2010 or 2007 folders with iCloud folders available via iCloud Control Panel. This lets you automatically sync them with…

726 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