|
实现如下功能:如果是所有含[email=“@tw]“@tw[/email]"域用户发给[email=“a@vip.com]“a@vip.com[/email]"信,都发一封给[email=a0@vip.com,a1@vip.com,a2@vip.com]a0@vip.com,a1@vip.com,a2@vip.com[/email]";
规则如下:
if the from header contains "@tw"
and if the to header contains a@vip.com
then copy this message to [email=a0@vip.com,a1@vip.com,a2@vip.com]a0@vip.com,a1@vip.com,a2@vip.com[/email]
结果如下:
如果[email=“@tw]“@tw[/email]"的用户只给a@vip.com一个人发信,那么要实现的功能就完成,但发给a@vip.com的同时,再抄送给其他人,则会抄送几份,[email=a0@vip.com,a1@vip.com,a2@vip.com]a0@vip.com,a1@vip.com,a2@vip.com[/email]这些就会收到几份,比如抄送了5个人,[email=a0@vip.com,a1@vip.com,a2@vip.com]a0@vip.com,a1@vip.com,a2@vip.com[/email]就会收到5份同样的信。
肯请各位指点下。 |
|