View Single Post
Old 15 Apr 2020, 05:41 PM   #30
JamesHenderson
Cornerstone of the Community
 
Join Date: Jan 2003
Location: Oxfordshire, UK
Posts: 603
Quote:
Originally Posted by xyzzy View Post

But it appears to be testing the original header and not the modified one.[/i]
Aha! ...well done!

I couldn't understand why my script *only* worked when the email address was still in my contacts (and didn't work when it wasn't), but that would explain it. ...albeit I don't understand how it is possible to test a header that has been deleted.

I appreciate you sending the bug report. I did ask my original question of Fastmail support but haven't received an answer yet, If you want to associate your bug report with my query, the ticket ID is: PTN636591

I wonder if it is possible to to explicitly test the for of the last occurrence of a header (in the same way that *deleteheader* can have an index number to specify which occorance is deleted (not specifying an index deletes all occurrences).
JamesHenderson is offline   Reply With Quote