I found this on the internet, but it didin't help:
[VBA]Sub Print Label (MyMail As MailItem)[/VBA]
I can now select it from the Run Script dialog when making a rule, but it only process mail, wich is higlighted at outlook. Example a mail that has been last viewed. It does not process new mail.
Is it the MyMail As MailItem that is causing it?