Poco Script FAQ - Forwarding selected messages to a text message capable cell phone

Poco Script FAQ - Forwarding selected messages to a text message capable cell phone

Q: I have a text message capable cell phone. I found a script on the forum that will forward any new mail to my cell phone - this works just fine. However, I wish to filter these messages so that I won't receive mail from certain mailing lists to which I am subscribed. I have tried to combine the bounce script with the stock "junk mail" script but nothing is being filtered - evertyhing is still being forwarded regardless of the sending domain.
 
A: You shouldn't need to modify either script for this purpose, the key should be the order in which they appear in the "Run on incoming mail" list in the "Scripts" tab in the "Filters and Scripts" window. You must put the "Junk Messages from Sender" script before the script that forwards the messages. Since the "Junk Messages from Sender" script deletes the message from the queue subsequent scripts will not see the message. This is true for any script that either deletes or moves a message.

Follow this link for information on changing the order in which scripts are executed.