inbound emails

This commit is contained in:
Yuri Kuznetsov
2014-01-29 18:28:52 +02:00
parent 36abdda58b
commit 930a6b26af
12 changed files with 347 additions and 30 deletions
@@ -5,4 +5,16 @@ namespace Espo\Modules\Crm\Controllers;
class InboundEmail extends \Espo\Core\Controllers\Record
{
public function actionFetch($params, $data, $request)
{
$id = $request->get('id');
try {
$this->getRecordService()->fetchFromMailServer($id);
} catch (\Exception $e) {
echo $e->getMessage();
}
echo "--";
die;
}
}