Receiving / retrieving email in CakePHP

前端 未结 3 755
盖世英雄少女心
盖世英雄少女心 2021-02-09 13:33

I am developing a basic yet highly customized CRM for a small training centre which has the ability to store student records and also send emails to them. I\'m using SwiftMailer

3条回答
  •  忘了有多久
    2021-02-09 13:50

    You will want to pipe your email to PHP and use stdin:// to read the contents of the email and add the e-mail to your database.

    I've done this with cake and the simplest way is to make a Cake console application to handle the parsing. Also using cpanel's account level filtering to generate the pipe is really simple.

    http://forums.cpanel.net/f5/piping-mail-php-scripts-howto-checklist-50985.html

    http://www.evolt.org/incoming_mail_and_php

提交回复
热议问题