On 7/22/04 12:00 AM, Paul Berkowitz wrote:

> There's an error in Barry's script:
> 
>       repeat with aHeader in theHeaders
>           if aHeader starts with "Received:" then copy contents of aHeader
> to receivedHeader
>           exit repeat
>       end repeat
> 
> That should be:
> 
>      repeat with aHeader in theHeaders
>           if aHeader starts with "Received:" then
>               copy contents of aHeader to receivedHeader
>               exit repeat
>           end if
>       end repeat
> 
> 
> The way it is now receivedHeader is being left at "" (blank) if the first
> header doesn't happen to be "Received:" - many aren't. The theDate is also
> "" and date theDate will error "invalid date and time".
> 

Hi Paul.  
That seemed to do something.  I ran the edited script and the time did
change, but it changed to a time 6 hours in the future!  :-)

Are you guys in Europe?  I'm wondering if maybe it's now changing to the
"sent" time even though it is set to "received".  Otherwise I don't know
what the 6 hour difference is.

ht

-- 
To unsubscribe:                     
<mailto:[EMAIL PROTECTED]>
archives:       
<http://www.mail-archive.com/entourage-talk%40lists.letterrip.com/>
old-archive:       
<http://www.mail-archive.com/entourage-talk%40lists.boingo.com/>

Reply via email to