Looking for a script that will take an email that has an attachment and contains the word invoice or statement and automatically forward just the attachment (no body email) to another email address.
I can make the filters for contains invoice or statement in Cpanel, but I need a script to strip the message body and forward the attachment to a different email address.
TIA
CodePudding user response: