Community Discussions and Support
Using a rule to save attachments to the network

Yes, you can extract an attachment to a file, which could be a network share.

Likewise, you could have more than one action processed per message--but not per rule line. That is.. Say you want to do five things if a mail matches a certain "From:" address. What you would do is create a rule that matches the "From:" line, then invert/negate it (so it has the opposite effect; It triggers only if the message does NOT match the "From:" line.) The action to this rule would then be a "Goto" (jump) to another rule which is really a label futher down in your ruleset--and skips over the five actions you want to perform. Then, put the actions you want to perform as "always" triggers, each with an action you want to do. (Remember, certain actions, such as moving a message, automatically end the rules processing--There's no point processing further if you've moved or deleted the message!)

I.E., Do something like this (This is not proper PMail rule scripting, which the rules editor hides from casual eyes anyhow.. but this should be enough to give you an idea of the logic used..):

...
# Other rules here...
NOT If "From" Equals president@whitehouse.gov Then Goto NotThePresident
Always Do Something
Always Do SomethingElse
Always Move Message To "Worthless Junk" Folder
# Rules will exit here since message was moved..
Label NotThePresident
# Other rules here...
...

Another alternative is you can set up rules in blocks which act like proceedures:

# Start processing..
If SomeMatchRule Then Call ProcOne
If SomeMatchRule Then Call ProcTwo
Exit Ruleset
# Done.. Proceedures follow:
Label ProcOne
Action1
Action2
Action3
Return From Call
# -
Label ProcTwo
Action1
Action2
Return From Call

Still other alternatives allow you to do things like "Skip Next Rule", which may be a Goto, Call, or something else that changes the flow of logic through your ruleset to create the effect you want. (Try doing something like that in Outlook--PMail ROCKS!)

HTH,

C. M.

 

<p>Yes, you can extract an attachment to a file, which could be a network share. Likewise, you could have more than one action processed per message--but not per rule line. That is.. Say you want to do five things if a mail matches a certain "From:" address. What you would do is create a rule that matches the "From:" line, then invert/negate it (so it has the opposite effect; It triggers only if the message does NOT match the "From:" line.) The action to this rule would then be a "Goto" (jump) to another rule which is really a label futher down in your ruleset--and skips over the five actions you want to perform. Then, put the actions you want to perform as "always" triggers, each with an action you want to do. (Remember, certain actions, such as moving a message, automatically end the rules processing--There's no point processing further if you've moved or deleted the message!) I.E., Do something like this (This is not proper PMail rule scripting, which the rules editor hides from casual eyes anyhow.. but this should be enough to give you an idea of the logic used..): ... # Other rules here... NOT If "From" Equals president@whitehouse.gov Then Goto NotThePresident Always Do Something Always Do SomethingElse Always Move Message To "Worthless Junk" Folder # Rules will exit here since message was moved.. Label NotThePresident # Other rules here... ... Another alternative is you can set up rules in blocks which act like proceedures: # Start processing.. If SomeMatchRule Then Call ProcOne If SomeMatchRule Then Call ProcTwo Exit Ruleset # Done.. Proceedures follow: Label ProcOne Action1 Action2 Action3 Return From Call # - Label ProcTwo Action1 Action2 Return From Call Still other alternatives allow you to do things like "Skip Next Rule", which may be a Goto, Call, or something else that changes the flow of logic through your ruleset to create the effect you want. (Try doing something like that in Outlook--PMail ROCKS!) HTH,</p><p>C. M.</p><p> </p>

Can it be done?  I have seen pay-ware that can do it (EZdetach) but that is Outlook only.  Can Pegasus do it?

 

Also, is there a way to add more than one action in a rule?  Currently I only see one action, so I can move, copy, etc.  but I also want to perform other actions once the first one is complete.

 

 

Thanks!

<P>Can it be done?  I have seen pay-ware that can do it (EZdetach) but that is Outlook only.  Can Pegasus do it?</P> <P mce_keep="true"> </P> <P>Also, is there a way to add more than one action in a rule?  Currently I only see one action, so I can move, copy, etc.  but I also want to perform other actions once the first one is complete.</P> <P mce_keep="true"> </P> <P mce_keep="true"> </P> <P>Thanks!</P>

To your first question: You can create a rule, that saves the attachment to a given location,

as far as I know, this can also be a network share.

To your second question: you can assign one action per rule, but you can create more rules with different actions,

I'am not sure, but I think they're executed the way they're defined.

<P>To your first question: You can create a rule, that saves the attachment to a given location, </P><P>as far as I know, this can also be a network share.</P><P>To your second question: you can assign one action per rule, but you can create more rules with different actions, </P><P>I'am not sure, but I think they're executed the way they're defined.</P>
live preview
enter atleast 10 characters
WARNING: You mentioned %MENTIONS%, but they cannot see this message and will not be notified
Saving...
Saved
With selected deselect posts show selected posts
All posts under this topic will be deleted ?
Pending draft ... Click to resume editing
Discard draft