예제 #1
0
 public function deleteAction()
 {
     $id = $this->params('id');
     $this->emailServers->removeOutgoingKey($id);
     return $this->redirect()->toRoute('admin/system/email/outgoing');
 }
예제 #2
0
 public function fetchAll($params = [])
 {
     $adapter = new ArrayAdapter($this->emailServers->getIncomingAccounts());
     return new MailIncomingCollection($adapter);
 }
예제 #3
0
 public function fetchAll($params = [])
 {
     $adapter = new ArrayAdapter($this->emailServers->getOutgoingServers());
     return new MailOutgoingCollection($adapter);
 }