Solved

Outlook 2002 downloading multiple copies of certain emails

Posted on 2004-10-14
3
134 Views
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 ([127.0.0.9]) 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 ([64.156.132.246]) by akemann.us for <peter@akemann.us>; Thu, 14 Oct 2004 01:04:35 -0700
Received: from cron.experts-exchange.com (localhost.localdomain [127.0.0.1])
      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.

Thanks,
-Peter
0
Comment
Question by:akemann
3 Comments
 

Author Comment

by:akemann
Comment Utility
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"
EOF2
    &results_screen(MAIL,0);
    close(MAIL);    
}

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 ([65.19.170.52]) by akemann.us for <peter@akemann.us>; Thu, 14 Oct 2004 17:46:44 -0700
Received: from breeze.he.net ([127.0.0.9]) 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.

Thanks,
-Peter
0
 

Accepted Solution

by:
modulo earned 0 total points
Comment Utility
PAQed with points refunded (125)

modulo
Community Support Moderator
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Learn more about how the humble email signature can be used as more than just an electronic business card. When used correctly, a signature can easily be tailored for different purposes by different departments within an organization.
Outlook Free & Paid Tools
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: …

728 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now