Recently I have worked in a project which requires processing email using php script before sending into the email user.
We used forward pipe option in the cPanel for sending the email to a php script for doing the required email processing.
I came to know that we need to follow below things.
- Put #!/usr/local/bin/php -q before <?php in the php script.
- The php file should have chmod 755 permissions, otherwise we will get "local delivery failed" error message.
- We may need to use MIME decoding.
More Articles...
You can bookmark this blog for further reading, or you can subscribe to our blog feed.
1 comment:
Thanks. Well to create an array, you can also use the array() constructor.
Post a Comment