Hi Martin,
[quote user="irelam"]If you have got the Pmical distribution files and documentation, the next step would be to copy the VCALENDAR stream from a message to a file (use Notepad etc) with the file extension ICS. Then drag/drop that file onto Pmical in windows explorer. You should get a display.[/quote] This works so far. I have saved the TEXT attachment, renamed it to *.ics and drop it to PMiCal.exe. PMiCal shows me a little window with all information expected.
[quote user="irelam"]If that works, you need a Newmail filter with a Goto Label 'vcalendar"
The calling part must contain:
Label vcalendar
Always Run a program (parameter c:\pmail\programs\pmical.exe %s )
Always Set color
Always Move to folder
Always Exit[/quote] And here starts my lack of understanding: What do you mean with "goto label"? I always use the GUI and do edit the real PM files directly very rarely. When I setup a NewMail-Filter, PM offers different trigger values, e.g. header, regular expression, mail size, etc. Here I choose "Expression". Within the Regular Expression window, I have to setup the regular expression PM is searching for (e.g. "Content-Type: text/calendar"). Then I have to setup where PM should search for: only in header, only in body or both. And finally I have to select an "Action" when triggered. My action is "start a program", where I could only add a path to PMiCal.exe. No further opportunities. Where I should define the o.m. Label with different command lines?
And another small query: In your installation description you wrote: "Unzip PMIcal.exe into your Pegasus Mail executables directory (eg c:\pmail\Programs). Extract files, Pmical.ini and PmIcal.css and place in Pegasus Mail executables directory (ie c:\pmail)". Is the PMiCal.exe automatically searching for the ini and css files in the Pmail main folder? In our company PM is running at a server and the \pmail directory is completely empty until now, except the PM Programs subfolder where all files are situated in.
Cheers, Joerg
edit:
In the meantime I have searched for the WINRULES.PMC in my own user folder of PM and have edited it as follows:
------------------------------------------
Filterregeln für neue Post
If expression both matches "Content-Type: text/vcalendar*" Goto "vcalendar"
If expression both matches "Content-Type: text/calendar" Goto "vcalendar"
If expression both matches "QkVHSU46VkNBTEVOREFS" Goto "vcalendar"
If expression both matches "BEGIN:VCALENDAR" Goto "vcalendar"
Label vcalendar
Always Run a program (parameter \\server1\pmail$\programs\pmical.exe %s)
Always Set color
Always Move to folder
Always Exit
-----------------------------------------
The one and only difference in PM behaviour after saving the new winrules.pmc was that the System News Window appears on each PM start. Therein I can find one line: filter rules for new messages processed. But the affected mail (with calendar attachment) in new mail folder has not been triggered.
<p>Hi Martin,</p><p>[quote user="irelam"]If you have got the Pmical distribution files and documentation, the next step would be to copy the VCALENDAR stream from a message to a file (use Notepad etc) with the file extension ICS. Then drag/drop that file onto Pmical in windows explorer.&nbsp; You should get a display.[/quote] This works so far. I have saved the TEXT attachment, renamed it to *.ics and drop it to PMiCal.exe. PMiCal shows me a little window with all information expected.
</p><p>[quote user="irelam"]If that works, you need a Newmail filter&nbsp; with a Goto Label 'vcalendar"</p><p>The calling part must contain:</p><p>Label &nbsp;&nbsp; vcalendar</p><p>Always Run a program (parameter&nbsp; c:\pmail\programs\pmical.exe %s )
</p><p>Always Set color</p><p>Always Move to folder</p><p>Always Exit[/quote] And here starts my lack of understanding: What do you mean with "goto label"? I always use the GUI and do edit the real PM files directly very rarely. When I setup a NewMail-Filter, PM offers different trigger values, e.g. header, regular expression, mail size, etc. Here I choose "Expression". Within the Regular Expression window, I have to setup the regular expression PM is searching for (e.g. "Content-Type: text/calendar"). Then I have to setup where PM should search for: only in header, only in body or both. And finally I have to select an "Action" when triggered. My action is "start a program", where I could only add a path to PMiCal.exe. No further opportunities. Where I should define the o.m. Label with different command lines?&nbsp; </p><p>And another small query: In your installation description you wrote: "Unzip PMIcal.exe into your Pegasus Mail executables directory (eg c:\pmail\Programs). Extract files, Pmical.ini and PmIcal.css and place in Pegasus Mail executables directory (ie c:\pmail)". Is the PMiCal.exe automatically searching for the ini and css files in the Pmail main folder? In our company PM is running at a server and the \pmail directory is completely empty until now, except the PM Programs subfolder where all files are situated in.
</p><p>Cheers, Joerg </p><p>edit:</p><p> In the meantime I have searched for the WINRULES.PMC in my own user folder of PM and have edited it as follows:</p><p>------------------------------------------
</p><p>Filterregeln für neue Post
If expression both matches "Content-Type: text/vcalendar*" Goto "vcalendar"
If expression both matches "Content-Type: text/calendar" Goto "vcalendar"
If expression both matches "QkVHSU46VkNBTEVOREFS" Goto "vcalendar"
If expression both matches "BEGIN:VCALENDAR" Goto "vcalendar"
Label vcalendar
Always Run a program (parameter \\server1\pmail$\programs\pmical.exe %s)
Always Set color
Always Move to folder
Always Exit</p><p>----------------------------------------- </p><p>The one and only difference in PM behaviour after saving the new winrules.pmc was that the System News Window appears on each PM start. Therein I can find one line: filter rules for new messages processed. But the affected mail (with calendar attachment) in new mail folder has not been triggered.
</p>