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

  • SEARCH
  • Home
  • 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 5955523
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T18:07:35+00:00 2026-05-22T18:07:35+00:00

Are email headers case sensitive? For example, is Content-Type different from Content-type ? According

  • 0

Are email headers case sensitive?

For example, is Content-Type different from Content-type?

According to RFC 5322, I don’t see anything about case sensitivity. However, I’m seeing a problem with creating MIME messages using the PEAR Mail_mime module, and everything is pointing to the fact that our SMTP server uses Content-type and MIME-version instead of Content-Type and MIME-Version. I tried using another SMTP server (like GMail), but unfortunately our web servers are firewalled pretty tightly.

  • 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-22T18:07:36+00:00Added an answer on May 22, 2026 at 6:07 pm

    RFC 5322 does actually specify this, but it is very indirect.

    Section 1.2.2 says:

    This specification uses the Augmented
    Backus-Naur Form (ABNF) [RFC5234]
    notation for the formal definitions of
    the syntax of messages.

    In turn, Section 2.3 of RFC 5234 says:

    NOTE:

    ABNF strings are case insensitive and the character set for
    these strings is US-ASCII.

    So when RFC 5322 specifies a production rule like this:

    from = "From:" mailbox-list CRLF

    It is implicit that the "From:" is not case-sensitive.

    [update]

    As for Content-Type and MIME-Version, they are specified by the MIME spec (RFC 2045). That in turn refers to the BNF described by the original RFC 822, which (luckily) also makes it clear that these literal strings are case-insensitive.

    Bottom line: According to the spec, Email headers are not case-sensitive, so it sounds like your mail server is buggy.

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

Sidebar

Related Questions

I am attempting to parse the following date strings obtained from email headers: from
I have a string from an email header, like Date: Mon, 27 Oct 2008
So i am working with some email header data, and for the to:, from:,
I want to send email from a Ruby application. Is there a call in
I recently received an email from my girlfriend that spamassassin marked as spam, mostly
I have email addresses encoded with HTML character entities. Is there anything in .NET
Given the email address: Jim <jim@example.com> If I try to pass this to MailAddress
What is the best way to send email from a Firefox extension? I can't
Adding on one more query extending from here Detecting language of email body :
I've been trying to send an email from my magento module but for some

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.