[quote user="stuzz78"]
I created the filter as per the one above and nothing happens. I can't see any of those expressions in the body of the email message, but it could be my inexperience in filter making too.
Maybe this particular email is special and a future email will trigger the actions. I'll keep the filter in place and see if that happens next time.
For now, let's all move on.
Thanks
[/quote]
I'm jumping in this thread a bit late, so please forgive me if I'm being redundant.
Rules works fine but in this case it is a must to be a "incoming new mail rule". So...
Tools > Mail filtering rules... > Edit new mail filtering rules... > Rules applied when folder is opened...
One of your first rules (if not the very first) should be:
Add rule > Always triggers... > Call label > Set... > PmIcal
.
...other rules
.
Add rule > Label… > PmIcal
Add rule > Attachments... > Only check the extension portion > And if it contains this... > .ics,.vcs > This string is a list of possible values, separated by commas > Goto label > Set... > vCalendar
Add rule > Expression… > If this regular expression > BEGIN:VCALENDAR > Body only > Goto label > Set... > vCalendar
Add rule > Expression… > If this regular expression > Content-Type: text/calendar* > Body only > Goto label > Set... > vCalendar
Add rule > Expression… > If this regular expression > Content-type: Application/Octet-stream; name="-"* type=Text > Body only > Goto label > Set... > vCalendar
Add rule > Expression… > If this regular expression > QkVHSU46VkNBTEVOREFS > Body only > Goto label > Set... > vCalendar
Add rule > Always triggers... > Return from call
Add rule > Label… > vCalendar
Add rule > Always triggers... > Run a program > Set... > C:\PMAIL\Programs\pmical.exe %s
Add rule > Always triggers... > Set message colour > Set... {optional}
Add rule > Always triggers... > Move > Set... > Calendar {optional}
Add rule > Always triggers... > Exit this rule set
These are the rules I'm using. Please make the adjustments like Pmical.exe path, etc.
If you'd like to just open .ics and .vcs through a mouse left-double-click just do it. Windows will ask you which application it needs to call. You just point it to pmical.exe and you're done. Remember to make an entry for each one into Tools > Options... > Content viewers. If you don't have any make empty dummies like dummy.ics and dummy.vcs.
[quote user="stuzz78"]<p>I created the filter as per the one above and nothing happens.&nbsp; I can't see any of those expressions in the body of the email message, but it could be my inexperience in filter making too.</p><p>Maybe this particular email is special and a future email will trigger the actions.&nbsp; I'll keep the filter in place and see if that happens next time.</p><p>For now, let's all move on.</p><p>Thanks&nbsp;</p><p>[/quote]</p><p>I'm jumping in this thread a bit late, so please forgive me if I'm being redundant.</p><p>Rules works fine but in this case it is a must to be a "incoming new mail rule". So...</p><blockquote><p><b>Tools &gt; Mail filtering rules... &gt; Edit new mail filtering rules... &gt; Rules applied when folder is opened...</b></p></blockquote><p>One of your first rules (if not the very first) should be:</p><blockquote><p><b><i>Add rule &gt; Always triggers... &gt; Call label &gt; Set... &gt; <font color="#0000ff">PmIcal</font></i></b></p><p>.</p><p>...other rules
</p><p>. </p><p><i><b>Add rule &gt; Label… &gt; <font color="#0000ff">PmIcal</font></b></i></p><p><i><b>Add rule &gt; Attachments... &gt; Only check the extension portion &gt;&nbsp; And if it contains this... &gt; <font color="#0000ff">.ics,.vcs</font> &gt; This string is a list of possible values, separated by commas &gt; Goto label &gt; Set... &gt; <font color="#0000ff">vCalendar</font></b></i></p><p><i><b>Add rule &gt; Expression… &gt; If this regular expression &gt; <font color="#0000ff">BEGIN:VCALENDAR</font> &gt; Body only &gt; Goto label &gt; Set... &gt; <font color="#0000ff">vCalendar</font></b></i></p><p><i><b>Add rule &gt; Expression… &gt; If this regular expression &gt; <font color="#0000ff">Content-Type: text/calendar*</font> &gt; Body only &gt; Goto label &gt; Set... &gt; <font color="#0000ff">vCalendar</font></b></i></p><p><i><b>Add rule &gt; Expression… &gt; If this regular expression &gt; <font color="#0000ff">Content-type: Application/Octet-stream; name="-"* type=Text</font> &gt; Body only &gt; Goto label &gt; Set... &gt; <font color="#0000ff">vCalendar</font></b></i></p><p><i><b>Add rule &gt; Expression… &gt; If this regular expression &gt; <font color="#0000ff">QkVHSU46VkNBTEVOREFS</font> &gt; Body only &gt; Goto label &gt; Set... &gt; <font color="#0000ff">vCalendar</font></b></i></p><p><i><b>Add rule &gt; Always triggers... &gt; Return from call</b></i></p><p><i><b>Add rule &gt; Label… &gt; <font color="#0000ff">vCalendar</font></b></i></p><p><i><b>Add rule &gt; Always triggers... &gt; Run a program&nbsp; &gt; Set... &gt; <font color="#0000ff">C:\PMAIL\Programs\pmical.exe %s</font> </b></i></p><p><i><b>Add rule &gt; Always triggers... &gt; Set message colour&nbsp; &gt; Set...<font color="#0000ff"><font color="#006600"> {optional}</font></font> </b></i></p><p><i><b>Add rule &gt; Always triggers... &gt; Move&nbsp; &gt; Set... &gt; <font color="#0000ff">Calendar<font color="#006600"> {optional}</font></font> </b></i></p></blockquote><blockquote><i><b>Add rule &gt; Always triggers... &gt; Exit this rule set</b></i></blockquote><p>&nbsp;</p><p>These are the rules I'm using. Please make the adjustments like Pmical.exe path, etc.</p><p>If you'd like to just open .ics and .vcs through a mouse left-double-click just do it. Windows will ask you which application it needs to call. You just point it to pmical.exe and you're done. Remember to make an entry for each one into <b>Tools &gt; Options... &gt; Content viewers</b>. If you don't have any make empty dummies like dummy.ics and dummy.vcs.</p><p>&nbsp;</p>
-- Euler
Pegasus Mail 4.81.1154 Windows 7 Ultimate
IERenderer: 2.7.1.5 AttachMenu: 1.0.1.2
PMDebug: 2.5.8.34 BearHTML 4.9.9.6