Re: sending mail through Gmail SMTP by Email component?

2014-06-11 Thread Indrajeet Singh
Try its working. $Email = new CakeEmail(array( 'port' = '465', 'timeout' = '300', 'host' = 'ssl://smtp.gmail.com', 'username' = 'usern...@gmail.com', 'password' = 'password',

Re: CakePHP: How to remove LEFT JOIN in updateAll()

2013-08-05 Thread Indrajeet Singh
On Wednesday, 12 November 2008 13:27:10 UTC+5:30, Kryptonian wrote: Hi, I have this problem that if my model uses a var $belongsTo = array (), my updateAll() generated statement was affected with this error message: UPDATE `files_folders` AS `FilesFolders` LEFT JOIN `course_files` AS

Re: CakePHP: How to remove LEFT JOIN in updateAll()

2013-08-05 Thread Indrajeet Singh
Hi All, You can change in function class BriefcaseComponent extends Object{ function delete($id){ $names = array('deleted' = '0'); $conditions = array(FilesFolders.instance_id = '$id); $this-FilesFolders-updateAll($names, $conditions);