Вопрос

We are developing a Client Support System. So we need to handle every mail once we get it. How to configure Exim? When the mail is received. It has to be handle (in php). For example it has to be inserted in DB.

Это было полезно?

Решение

You need to configure exim to pipe the mail to a php script.

Here is a tutorial on how to achieve this: http://www.activecampaign.com/support/tt/kb/article/help-desk/version-25x-26x/setting-up-supporttrio/setting-up-your-server-to-forward-email-to-the-pipe-script

The php script you "pipe" the mail to will receive the emails content via stdin, which enables you to insert it into the db.

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top