|
FastMail Forum All posts relating to FastMail.FM should go here: suggestions, comments, requests for help, complaints, technical issues etc. |
|
Thread Tools |
26 Mar 2016, 02:41 AM | #1 | |
Essential Contributor
Join Date: Oct 2003
Posts: 327
|
searching for quotes
I am trying to search for "To" fields containing quotes.
For example, I want to find Code:
"myname" <myname@example.tld> Code:
myname <myname@example.tld> <myname@example.tld> myname@example.tld Quote:
Code:
in:* to: '"myname" <myname@example.tld>' in:* to: '\"myname\" <myname@example.tld>' in:* to: "\"myname\" <myname@example.tld>" I also tried using substr() in all the combinations above which returned zero matches. Please advise. |
|
7 Apr 2016, 04:15 PM | #2 | ||
Member
Join Date: Nov 2012
Posts: 40
|
If you are trying to search and find names in the "to" header, but only names that have quotes around them, you will not be able to directly, as the quotes are stripped out by the search and only the parsed name and e-mail address are searched.
If you are trying to find a to that is of the form: Quote:
Code:
imap:'to "Firstname \\"nickname\\" Lastname"' Code:
imap:'TO myname@example.tld TEXT "\\"myname\\" <myname@example.tld>"' Let me know if this helps! Edit: this could also turn up false positives if the body of the e-mail has Quote:
Last edited by cyberpear : 7 Apr 2016 at 04:19 PM. Reason: Clarification |
||