Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6979331
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T17:52:22+00:00 2026-05-27T17:52:22+00:00

I am writing a program that composes an email reply. The original email may

  • 0

I am writing a program that composes an email reply. The original email may be a reply already. How should I handle the subject?

I have seen the everything-before-the-colon method used. This could affect a situation re[2]:. If the colon method was used. The reply would become Re: and the other party’s computer would lose count.

If not, the reply would become Re: re[2] Then the next reply could come through as re[4] as was intended.

But the colon method can be useful for cases where you say Resending: and the next reply would become Re:.

Do you have input on this? Is there a standard or common way to do this?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T17:52:23+00:00Added an answer on May 27, 2026 at 5:52 pm

    (With no context at all it’s difficult to provide a concrete answer – you may want to provide more information in your question)

    Most decent mail user agents (MUA) use the In-Reply-To: header to indicate message threading, without resorting to unsafe operations such as parsing the Subject: header. Most such clients also have a proper threading mode where unusual stuff such as Re[2]: is at best unnecessary. The de facto standard of using Re: is a good compromise between terseness and content, but with proper threading support it eventually comes down to aesthetics.

    • Just use Re: in messages you create yourself – anything else is bound to lead to confusion. Make sure you properly generate the In-Reply-To: header for any reply messages.

    • Please do not remove content from the Subject: header. You may refrain from adding to it when e.g. a proper Re: substring already exists, but if you are actually removing strings you are bound to get it wrong, leading to confusing situations.

    • This is not a strictly technical issue – different people have different preferences. In a specific community, e.g. a mailing list, social automation (sic) will take care of any repeat offender that uses strange or confusing conventions.

    • Trying to deal with this automatically is bound to cause more problems than it would solve. Such issues are also not the responsibility of the carrier – i.e. the mailing system. Keep your system simple and focus on real technical problems.

    EDIT:

    A common case of a broken client (or user – I have always been unclear on this) is the Re: avalanche case:

    Subject: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: What about that thing we were talking about?
    

    Tempting isn’t it? A simple filter rule in the MTA, or a few lines of code in a replying MUA and the avalanche is replaced by a nice, single Re: automatically!

    In my opinion, this is one case where the temptation should be resisted to:

    • There is no guarantee that an MTA is the only path a specific message uses. For example, when some users reply to mailing list messages, they reply both to the mailing list and directly to the poster. Naturally, the poster will receive both messages, most probably by completely different paths.

      Do you know how confusing it can be to receive the same message with two different subject lines? Even a basic sort-by-subject would fail. In my opinion, even spam detection systems that add [SPAM], **SPAM**, $P@M or whatever to the subject are pushing it.

      Can you imagine a library selectively changing the titles of their book copies according to some sort of local policy?

    • Even if your MUA “fixes” the issue, everyone else will still be using the old subject, except for when replying to you. Moreover, you have just single-sidedly created what appears to be a new thread. Proper mail clients will still display the thread correctly, but the visual effect is confusing. After all, you did remove a highly distinctive feature of this thread from your reply post, didn’t you?

      I actually remember a couple of fun threads where the Re: avalanche in their subject was part of a tongue-in-cheek discussion. Why would you want to miss on that?

    Sure, people use broken clients. Or they are broken themselves. If anyone gets really out of line it can be handled individually. Just don’t compound the problem and leave our Subject: headers alone. Please? Pretty please?

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Im writing a program that should read input via stdin, so I have the
Writing a program that should be portable in Linux and Windows enviroments I have
I'm writing a program that sends an email out at a client's specific local
I am writing a program that creates an image file. I want the original
I have tried writing program that plays a sound file but have been unsuccessful
I'm writing a program that sits in the systray. It will have a keyboard
I have been writing a program that is quite complex compared to what I
If you are writing a program that is executable from the command line, you
I'm writing a program that uses SetWindowRgn to make transparent holes in a window
I'm writing a program that contains a generational garbage collector. There are just two

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.