How to add extra text in the end of email body when forwarding?
Hi I wish to use a PHP pipe instead, that adds a small notice to the end of the forwarded email, like "Forwarded from original@email.com"."
I wish to add the option to have a dynamic message at the end of the email that is being forwarded, like for example "This email is forwarded from test@forwarder.email. Click [HERE] to stop the forwarding."??which means we can execute some PHP script when an email is received.
From the PHP, your goal is to tell cPanel to forward the email with this additional message.
Please note that the original "from" and "to" email address should still be shown in the email details
-
As far as I know the only way to add this would be to use the exim system filter. Information on how to customize this can be found here: How to Customize the Exim System Filter File | cPanel & WHM Documentation 0 -
can it be done by using php pipe? 0 -
Based on the documentation it appears so. The Exim documentation on filters can be found here: 3. Exim filter files 0
Please sign in to leave a comment.
Comments
3 comments