• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Get "Received: " fields from messages headers in Mail.app
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Get "Received: " fields from messages headers in Mail.app


  • Subject: Re: Get "Received: " fields from messages headers in Mail.app
  • From: Michelle Steiner <email@hidden>
  • Date: Thu, 17 Aug 2006 12:12:13 -0700

On Aug 17, 2006, at 11:59 AM, Jean-Gabriel Steinmetz wrote:

content of headers of message 1 of message viewer 1 whose name is
"received"

I tried but it still doesn't work. It is strange because it works only with messages whose headers contain only one "Received" field.
Whenever there are more than one "Received" field. it doesn't work...

It works for me. Here is what it returned when I ran the script on your message:


tell application "Mail"
content of headers of message 2 of message viewer 1 whose name is "received"
end tell


{"(qmail 19905 invoked from network); 17 Aug 2006 19:00:09 -0000", "from unknown (HELO pre-smtp22-01.prod.mesa1.secureserver.net) ([64.202.189.245]) (envelope-sender <applescript-users-bounces +michelle=email@hidden>) by smtp23-01.prod.mesa1.secureserver.net (qmail-ldap-1.03) with SMTP for <email@hidden>; 17 Aug 2006 19:00:09 -0000", "(qmail 18271 invoked from network); 17 Aug 2006 19:00:09 -0000", "from unknown (HELO bz4.apple.com) ([17.254.13.39]) (envelope-sender <applescript- users-bounces+michelle=email@hidden>) by pre- smtp22-01.prod.mesa1.secureserver.net (qmail-ldap-1.03) with SMTP for <email@hidden>; 17 Aug 2006 19:00:07 -0000", "from lists.apple.com (a17-128-113-151.apple.com [17.128.113.151]) by bz4.apple.com (8.12.11/8.12.11) with ESMTP id k7HJ06Wj005564 for <email@hidden>; Thu, 17 Aug 2006 12:00:06 -0700 (PDT)", "from master.lists.apple.com (localhost [127.0.0.1]) by lists.apple.com (Postfix) with ESMTP id 39503B8E23E2 for <email@hidden>; Thu, 17 Aug 2006 12:00:06 -0700 (PDT)", "from relay1.apple.com (relay1.apple.com [17.128.113.31]) by lists.apple.com (Postfix) with ESMTP id 79FA1B8E22EC for <applescript- email@hidden>; Thu, 17 Aug 2006 11:59:59 -0700 (PDT)", "from mail-in2.apple.com (mail-in2.apple.com [17.254.13.5]) by relay1.apple.com (8.12.11/8.12.11) with ESMTP id k7HIxxHD021306 for <email@hidden>; Thu, 17 Aug 2006 11:59:59 -0700 (PDT)", "from smtp1-g19.free.fr (unknown [212.27.42.27]) by mail- in2.apple.com (Apple Secure Mail Relay) with ESMTP id E348A477 for <email@hidden>; Thu, 17 Aug 2006 11:59:58 -0700 (PDT)", "from [192.168.0.1] (pha75-4-82-66-87-216.fbx.proxad.net [82.66.87.216]) by smtp1-g19.free.fr (Postfix) with ESMTP id 07BAABAA9 for <email@hidden>; Thu, 17 Aug 2006 20:59:57 +0200 (CEST)"}

I'm using Tiger 10.4.7; what are you using?

-- Michelle

--
"As democracy is perfected, the office of president represents, more and more closely, the inner soul of the people. On some great and glorious day the plain folks of the land will reach their heart's desire at last and the White House will be adorned by a downright moron."


.... H.L. Mencken ...

Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Re: Get "Received: " fields from messages headers in Mail.app (From: Jean-Gabriel Steinmetz <email@hidden>)

  • Prev by Date: iCal scripting
  • Next by Date: Re: 500 quarkfiles - merge to 1 document
  • Previous by thread: Re: Get "Received: " fields from messages headers in Mail.app
  • Next by thread: Re: Get "Received: " fields from messages headers in Mail.app
  • Index(es):
    • Date
    • Thread