Outlook 2002 downloading multiple copies of certain emails

Posted on 2004-10-14
Medium Priority
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: <Merenderos@breeze.he.net>
Received: from breeze.he.net ([]) by merenderos.org for <pa@merenderos.org>; Wed, 13 Oct 2004 23:36:45 -0700
Message-Id: <1097735805.29978@breeze.he.net>
Date: Wed, 13 Oct 2004 23:36:45 -0700
From: Merenderos Foundation
To: pa@merenderos.org
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: <qna@experts-exchange.com>
Received: from cron.experts-exchange.com ([]) by akemann.us for <peter@akemann.us>; Thu, 14 Oct 2004 01:04:35 -0700
Received: from cron.experts-exchange.com (localhost.localdomain [])
      by cron.experts-exchange.com (Postfix) with ESMTP id CFDD924808F
      for <peter@akemann.us>; Thu, 14 Oct 2004 00:35:58 -0700 (PDT)
Message-ID: <19854374.1097739358850.JavaMail.root@cron.experts-exchange.com>
Date: Thu, 14 Oct 2004 00:35:58 -0700 (PDT)
From: Experts Exchange <qna@experts-exchange.com>
To: akemann <peter@akemann.us>
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\@my_domain.org";
if (open(MAIL, "|/usr/sbin/sendmail -t $to"))
  print MAIL <<EOF2;
From: Merenderos Foundation \<contributions\@merenderos.org\>
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: <contributions@merenderos.org>
Received: from merenderos.org ([]) by akemann.us for <peter@akemann.us>; Thu, 14 Oct 2004 17:46:44 -0700
Received: from breeze.he.net ([]) by merenderos.org for <peter@akemann.us>; Thu, 14 Oct 2004 17:46:42 -0700
Message-Id: <1097801202.25241@breeze.he.net>
Date: Thu, 14 Oct 2004 17:46:42 -0700
From: Merenderos Foundation <contributions@merenderos.org>
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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

Find out what you should include to make the best professional email signature for your organization.
You need to know the location of the Office templates folder, so that when you create new templates, they are saved to that location, and thus are available for selection when creating new documents.  The steps to find the Templates folder path are …
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
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: …
Suggested Courses

764 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