# mail rule based on "If the To line contains"

**URL:** <https://forum.emclient.com/t/mail-rule-based-on-if-the-to-line-contains/38212>\
**Category:** Uncategorized\
**Created:** [February 19, 2010, 5:10am UTC](https://forum.emclient.com/t/mail-rule-based-on-if-the-to-line-contains/38212 "2010-02-19T05:10:24Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Luke\_McNeilage](https://forum.emclient.com/letter_avatar_proxy/v4/letter/l/ad7895/32.png) [@Luke\_McNeilage](https://forum.emclient.com/u/Luke_McNeilage)\
**Post date:** [February 19, 2010, 5:10am UTC](https://forum.emclient.com/t/mail-rule-based-on-if-the-to-line-contains/38212/1 "2010-02-19T05:10:24Z")

</div>

There doesn’t appear to be an option for setting a mail rule based on If the To line contains address.

If I collect a number of POP email accounts in the one client session (which I do) and I’d like all the mail addressed To [xxx@yyy.com](mailto:xxx@yyy.com) to be moved into an xxx folder; I can’t do it.

---

<div class="post-metadata">

**Author:** ![Luke\_McNeilage](https://forum.emclient.com/letter_avatar_proxy/v4/letter/l/ad7895/32.png) [@Luke\_McNeilage](https://forum.emclient.com/u/Luke_McNeilage)\
**Post date:** [February 21, 2010, 11:02am UTC](https://forum.emclient.com/t/mail-rule-based-on-if-the-to-line-contains/38212/2 "2010-02-21T11:02:37Z")

</div>

After message has been received  
with ‘ebay’ found in subject  
and from ‘[ebay@ebay.com.au](mailto:ebay@ebay.com.au)’, ‘[aucswebhelp@ebay.com](mailto:aucswebhelp@ebay.com)’, ‘[ebay@ebay.com.au](mailto:ebay@ebay.com.au)’  
and received using [lmnau-ebay@d2p.com.au](mailto:lmnau-ebay@d2p.com.au)  
move to Ebay

even this doesn’t work. It doesn’t move mail based on account to specific folder.
