Add Sendgrid integration (incoming email handling)

This commit is contained in:
Frederic Guillot
2015-04-19 19:23:42 -04:00
parent ac86c3100a
commit f190be9e2d
37 changed files with 380 additions and 89 deletions

View File

@@ -150,6 +150,10 @@ class User extends Base
*/
public function getByEmail($email)
{
if (empty($email)) {
return false;
}
return $this->db->table(self::TABLE)->eq('email', $email)->findOne();
}