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 721259
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T05:51:10+00:00 2026-05-14T05:51:10+00:00

Can anyone recommend a way to determine the timezone that an email was sent

  • 0

Can anyone recommend a way to determine the timezone that an email was sent from in C#?

Looking at the header information of an email includes information like:

Received: from mail-ew0-f211.google.com (123.85.219.211) by UKExchange
 (10.1.10.99) with Microsoft SMTP Server id 1.2.345.6; Tue, 13 Apr 2010
 14:26:24 +0100
Received: by ewy3 with SMTP id 3so288857ewy.6        for
 <john.sibly@mycompany.com>; Tue, 13 Apr 2010 06:26:23 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.103.213.2 with HTTP; Tue, 13 Apr 2010 06:26:23 -0700 (PDT)
X-Originating-IP: [83.244.243.210]
Date: Tue, 13 Apr 2010 14:26:23 +0100
Received: by 10.103.3.17 with SMTP id f17mr3087878mui.123.1271165183473; Tue,
13 Apr 2010 06:26:23 -0700 (PDT)

There are a number of “Received: from” and “Received: by” keys with a date, time and timezone indicated on the end.

Which one of these should I attempt to parse?
Is this a reliable way to figure out the sender’s timezone, or anyone recommend a better way?

  • 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-14T05:51:11+00:00Added an answer on May 14, 2026 at 5:51 am

    The various “received” entries are the time each successive server have received the email in reverse order (i.e. the last server to receive the mail is on top of the stack). However, that’s not the date the message was sent, it’s the date the message was received by the server.

    The date the message was composed is indicated by the “Date” header which should be unique.

    So, depending on what you want to do exactly, you should either take the LAST “received” header (which should be the date when the message was sent according to the first SMTP server) or the “date” header (which should be the time the user pressed the “new mail” or “reply” button and contain the time zone of the client – assuming you’re dealing with a real client and not web mail).

    If you’re dealing with web mail, then the content of the time zone could be anything really, from the real original user TZ to whatever default the web server had set.

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

Sidebar

Related Questions

Can anyone please recommend the best and easiest way to include multiple Javascript files
Can anyone recommend a Prolog compiler for .Net. The ones that I have been
Can anyone recommend tools or articles that help me to learn how to TDD
Can anyone recommend a way in which I can throttle an application based on
Can anyone recommend a clean way of closing a WCF service and its threads
Can anyone recommend the best way to change the default language in Sitecore 6.1.
Can anyone recommend the best way to detect mobile device accessing a site -
Can anyone recommend a way to block access to particular system classes in a
Can anyone recommend an efficient way of restoring asp.net sites, currently the steps I
Can anyone recommend the best way to hack IE8 styling via CSS, I've recently

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.