Users send messages by mail. How to implement the following: So that after receiving each incoming letter, a certain script worked, which will for example send the subject and message body to the CRM system.

    1 answer 1

    if there is no administrative access to the mail receiving machine, then you need to use php from imap_open , imap_search , imap_body , etc.

    notice, for example, this question and the answers to it.

    • there is access to the mail. (on own domain) - Radik Kamalov
    • then you can use the smtp server tools and call up some handler when a message arrives. search keywords: "piping email to script". but I'm not sure that it will be easier for you than the one suggested in the answer. - aleksandr barakin