Bug 4638 - System.Net.Mail.SmtpClient is sending priority-header twice
Summary: System.Net.Mail.SmtpClient is sending priority-header twice
Alias: None
Product: Class Libraries
Classification: Mono
Component: System ()
Version: 2.10.x
Hardware: All All
: --- normal
Target Milestone: Untriaged
Assignee: Martin Baulig
Depends on:
Reported: 2012-04-25 08:16 UTC by h1165526
Modified: 2016-11-11 09:37 UTC (History)
3 users (show)

Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.

Please create a new report on GitHub or Developer Community with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:

Description h1165526 2012-04-25 08:16:39 UTC
an mail sent over mono's smtpClient with high priority includes the priority-header twice:

Return-Path: <***>
Delivery-Date: Wed, 25 Apr 2012 12:04:25 +0200
Received: from *** for ***; Wed, 25 Apr 2012 12:04:25 +0200
Received: from ***; Wed, 25 Apr 2012 12:04:25 +0200
Date: Wed, 25 Apr 2012 12:04:25 +0200
From: ***
To: ***
Subject: ***
Priority: urgent    <---
MIME-Version: 1.0
Priority: Urgent    <---
Importance: high
X-Priority: 1
Content-Type: multipart/mixed; boundary=***
Message-Id: ***
Comment 1 Shay Rojansky 2012-10-28 20:38:50 UTC
I can't see this happening with mono, can you maybe send a code sample?
Comment 2 Martin Baulig 2016-11-11 09:37:59 UTC
Closing ancient bugs, please reopen if you're still having this problem.