Capturing the "Return-Path" header information as text in Apple Mail?
Capturing the "Return-Path" header information as text in Apple Mail?
- Subject: Capturing the "Return-Path" header information as text in Apple Mail?
- From: Marc Glasgow <email@hidden>
- Date: Sun, 04 Feb 2007 02:43:47 -0500
As part of an extensive multi-application script, I need a small
portion of it to capture the "Return-path" header contents within
Apple Mail (v2.1.1) and churn it into a data format that I can use
for a comparison value to ensure the message is valid. For the
messages in question, the From field changes but the return-path
never does.
While AS is (or appears to be) perfectly happy to supposedly capture
the data using:
-- within Mail, having selected the message:
set SomeAddress to get header "return-path" of OurTestMessage
-- Event log say it got the header "return-path" of message id 168910
of mailbox "testing"
What I can't figure out is the data format that the returned data
contains, or how to either coerce it into text/string/etc, or match
the data format for the test in the next step of the script.
Any insight anyone could provide would be greatly appreciated.
Sincerely Yours,
Marc S.A. Glasgow
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/mailman//archives/applescript-users
This email sent to email@hidden